[CLOSED] Hibernate and Cocoon database pool question

2004-12-06 Thread george georgovassilis
Guten Morgen Johannes Thank you very much for your help. Your mentioning the Configuration class led me on the right track. One has to cfg.configure().buildSessionFactory() instead of cfg.buildSessionFactory() which was practiced in the tutorial. When I changed the code accordingly it also start

Re: [CLOSED] Hibernate and Cocoon database pool question

2004-12-06 Thread Johannes Textor
Hi again George, 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 ? Regards, Johannes george georgovassilis wrote: Guten Morgen Johannes Thank you very much for your help. Your mentioning

Re: [CLOSED] Hibernate and Cocoon database pool question

2004-12-06 Thread george georgovassilis
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) wi

Re: [CLOSED] Hibernate and Cocoon database pool question

2004-12-06 Thread Johannes Textor
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