commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Validaity of Java.sql.connection's status in DBCP connection pool
Date Wed, 06 Oct 2010 16:26:17 GMT
This is really a question for the Commons User list:

http://commons.apache.org/dbcp/mail-lists.html

Please subscribe and ask there.

On 6 October 2010 12:21, Varma, Sanjay <sanjay.varma@citi.com> wrote:
> 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
>
>

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


Mime
View raw message