-
Suggestion
-
Resolution: Done
Currently the C3Po library we used accept configurations for the basic pool and the management of the pool size & connection age. It will be nice to have other configurations like the connection testing. At the moment, adding the following are neglected:
<property name="hibernate.c3p0.testConnectionOnCheckout">true</property> <property name="hibernate.c3p0.preferredTestQuery">SELECT 1</property> <property name="hibernate.c3p0.unreturnedConnectionTimeout">1800</property> <property name="hibernate.c3p0.debugUnreturnedConnectionStackTraces">true</property>
ref: http://www.mchange.com/projects/c3p0/#basic_pool_configuration