commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varma, Sanjay " <sanjay.va...@citi.com>
Subject Validaity of Java.sql.connection's status in DBCP connection pool
Date Wed, 06 Oct 2010 11:21:58 GMT
Hi Guys

Have created a Java's DBCP connection pool using BasicDataSource each one for primary and
secondary databases.

Can anybody please confirm/comment if say primary database or secondary database goes down
at that time will the BasicDataSource still holds the DB connections in the connection pool
and if yes then the connections it has are they valid connection?
If Yes or No , which method of the BasicDataSource or Connection object  method, can be used
to know the validity of the Db connection ?

Thanks in Advance
Sanjay

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message