commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meyer, Megan K." <Megan.Me...@jhuapl.edu>
Subject [DBCP] Force active connections closed in BasicDataSource
Date Fri, 28 Jan 2005 15:06:38 GMT
Hello,

I'm using a BasicDataSource for connection pooling to our database in a
standalone application.  The application requires that we have a backup
and restore capability at runtime.  We've found that calling close() on
the BasicDataSource doesn't cleanly close all connections to the
database whenever there are active connections that have been borrowed
from the pool.  

Is there a way to force all connections in the pool closed, even if
active connections have been lent out?

Thanks in advance,
Megan



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


Mime
View raw message