ok, next time I will read more thoroughly :)

You needed to call configure() because you are using the hibernate.cfg.xml file,
as opposed to hibernate.properties used by me and in the tutorial, which is read
automatically when the session is created.


I will add this information to the page. thank you for bringing this up :)

regards,
johannes

george georgovassilis wrote:

strange, the code in the page works for me and also for some people who have
tested the page. just out of curiosity: which version of Hibernate are you using ?


Yep, that is strange. But I really couldn't get it otherwise to work. I'm doing this on plain cocoon (no tomcat or other app server) with hibernate 2.1.7
g.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to