commons-user mailing list archives

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

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,

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

View raw message