-->
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.  [ 2 posts ] 
Author Message
 Post subject: Getting DB pool status/info via HIbernate API?
PostPosted: Tue Jun 15, 2004 7:23 am 
Beginner
Beginner

Joined: Wed Dec 03, 2003 10:59 am
Posts: 47
Hello,

Does Hibernate API offer any means of getting to the underlying DB connection pool?

Specifically, I am using DBCP and would like to get to its PoolableConnectionFactory class, so that I can call 'getPool()' method ( http://jakarta.apache.org/commons/dbcp/ ... l#getPool() ), which would allow me to examine the status of the DB pool (its size and the number of checked out connections).

I looked at this:
http://www.hibernate.org/hib_docs/api/n ... vider.html

However, I saw nothing that would allow me to get to the above DBCP class instance.

Is there a way to get more information about the connection pool status from/via Hibernate?

Thank you,
Otis


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 30, 2004 12:25 pm 
Regular
Regular

Joined: Tue May 04, 2004 6:15 am
Posts: 51
otis, have you not solved the problem you had with jdbc connections?

_________________
eu:life
http://www.eulife.gr


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

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.