-->
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: Monitoring Hibernate connection pool
PostPosted: Fri Feb 23, 2007 12:02 am 
Newbie

Joined: Thu Feb 22, 2007 11:52 pm
Posts: 1
Hi All,

I am using Hibernate to create a connection pool. Is there a way to monitor these connections at runtime so that I know whether the no. of connections in the pool is optimum or not?

I have tried searching everywhere and the only way i find is to use Websphere(application server that I am using) to monitor the connection pool by configuring Hibernate to use application server connection pooling.

Following is the snippet from the hibernate:
<prop key="hibernate.c3p0.min_size">5</prop>
<prop key="hibernate.c3p0.max_size">20</prop>

Thanks in advance.
Any help wud b appreciated.
Ashish M.


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.