commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <>
Subject Re: removeAbandoned in dbcp 2.2
Date Sun, 24 Aug 2008 22:31:14 GMT
Khawaja Shams wrote:
> Hello,   I noticed that the setRemoveAbandoned and other associated methods
> are deprecated in 1.2.2.  The javadocs did not contain any explanation as to
> why it is abandoned, and the configuration page still shows these properties
> as configurable.  BasicDataSourceFactory in fact calls this method.  Is
> there a reason for this deprecation? Does it still do what I may believe it
> is doing? Thanks.
These methods should work as advertised.  They were deprecated several 
years ago when some of the developers active at that time thought that 
DBCP should not try to track and cleanup abandoned connections.  The 
functionality is still there; however, and there is no immediate plan to 
remove it.

> Regards,
> Khawaja Shams

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

View raw message