You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vy Ho <st...@drexel.edu> on 2004/07/16 21:14:54 UTC

Connection pool detecting bad connection

I am sure people with DBCP background would know about this.  My 
question is what is the generic/common/standward JDBC way of check a 
connection to see if it's a good connection or not.  Check thing like:

con.isClosed() works in some case, and does not in another case.

Would retriveing the metadata do it?  What is the implication in term of 
performance for this?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org