commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haipeng du <haipen...@gmail.com>
Subject Re: [DBCP] Force active connections closed in BasicDataSource
Date Fri, 28 Jan 2005 15:12:51 GMT
destroy your datasource.


On Fri, 28 Jan 2005 10:06:38 -0500, Meyer, Megan K.
<Megan.Meyer@jhuapl.edu> wrote:
> 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
> 
> 


-- 
Haipeng Du
Software Engineer
Comphealth, 
Salt Lake City

---------------------------------------------------------------------
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