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: does dbcp rollback?
Date Wed, 13 Apr 2005 05:47:00 GMT
Yes, it does

http://jakarta.apache.org/commons/dbcp/xref/org/apache/commons/dbcp/PoolableConnectionFactory.html#348
close -> passivateObject
getConnection -> activateObject

-- Dirk

Trenton D. Adams wrote:
> I would assume that dbcp does the proper connection cleanups when 
> someone calls connection.close(), correct?  Like rollback() for 
> instance, setting the autocommit back to the default, etc.
> 



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