commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: DBCP: Recovering all Connections
Date Wed, 24 Jun 2009 16:05:36 GMT
Patrick Lightbody wrote:
> I have a somewhat unique use case: I want to be able to, on command,
> tell my BasicDataSource to "recover" any outstanding open Connections.
> I don't see any methods in the API that indicate there is a way to
> force that. There are timeouts that will recover it, but is there a
> way to say: "do it now"?

In short, no. Depending on configuration, DBCP might not even be holding
references to the open connections.

Mark



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


Mime
View raw message