Hibernate with Cocoon connection pool

2004-09-02 Thread Johannes Textor
Hi all, I have a webapp which uses Hibernate for persistency. Hibernate connects to the database (MySQL) using its own connection pool (where the settings are specified in hibernate.properties) I read that Hibernate's builtin connection pool is no good for production use, and indeed I'm facing

Re: Hibernate with Cocoon connection pool

2004-09-02 Thread Upayavira
I had a similar problem and sorted it by using C3P0. Put the following, or equivalent, into your properties file: property name=c3p0.max_size2/property property name=c3p0.min_size10/property property name=c3p0.timeout5000/property property

Re: Hibernate with Cocoon connection pool

2004-09-02 Thread Guido Casper
Johannes Textor wrote: Hi all, I have a webapp which uses Hibernate for persistency. Hibernate connects to the database (MySQL) using its own connection pool (where the settings are specified in hibernate.properties) I read that Hibernate's builtin connection pool is no good for production use,