Add this:

                <property name="hibernate.c3p0.acquire_increment">1</property> 
                <property name="hibernate.c3p0.idle_test_period">240</property> 
 
                <property name="hibernate.c3p0.max_size">100</property> 
                <property name="hibernate.c3p0.max_statements">0</property> 
                <property name="hibernate.c3p0.min_size">10</property> 
                <property name="hibernate.c3p0.timeout">300</property>  
                <property
name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>


To your hibernate.cfg.xml and make sure you have C3P0 as available library
on the classpath. 

Should work ootb.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hibernate-connection-pool-tp5717744p5717778.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to