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.
|
|