-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: c3p0/mysql connection poling
PostPosted: Thu Aug 03, 2006 6:21 pm 
Newbie

Joined: Thu Aug 03, 2006 6:13 pm
Posts: 1
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...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.