Is there a way I can check that hibernate actually is using C3P0 for pooling and that the number of connections is as specified in my config?
I ask because when I check "Server Connections" on "MySQL Administrator", it says only 1 user connected to the database, when in fact I have specified a min of 10.
I'm using MySQL 5, Hibernate 3.1 on Tomcat 5.5. And my hibernate.cfg.xml settings are...
...
<property name="c3p0.acquire_increment">1</property>
<property name="c3p0.idle_test_period">100</property>
<property name="c3p0.max_size">100</property>
<property name="c3p0.max_statements">0</property>
<property name="c3p0.min_size">10</property>
<property name="c3p0.timeout">100</property>
...
Thanks in advance...
|