commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <dirk.verbe...@pandora.be>
Subject Re: [DBCP] Problem initializing pool
Date Tue, 28 Jun 2005 16:42:32 GMT
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message