The reason why abandoned* methods are deprecated are explained in the
wiki: http://wiki.apache.org/jakarta-commons/DBCP
-- Dirk
Robert Bowen wrote:
Hello, thanks for the tip.
I was surfing around the API and didn't even see
BasicDataSource. I guess because it's in a different
package -- org.apache.commons.dbcp , whereas
SharedDataSource is in
org.apache.commons.dbcp.datasources.
Anyway, looking at the BasicDataSource I see that all
methods having to do with abandoned connections are
deprecated!
So is there a way to use DBCP/Pool and have it manage
your connections (log available and abandonded
connections, do garbage collection, etc.) I would
prefer not to have to put my own System.out.println()
or log.print() statements, especially since the
methods I would be calling (eg.
getAbandonedConnections() ) are deprecated!
Many thanks,
syg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]