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
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
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,