commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
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:

Please subscribe and ask there.

On 6 October 2010 12:21, Varma, Sanjay <> 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message