You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Trenton D. Adams" <tr...@athabascau.ca> on 2005/04/12 18:37:07 UTC

does dbcp rollback?

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.

-- 
Trenton D. Adams
Web Programmer Analyst
Navy Penguins at your service!
Athabasca University
(780) 675-6195
:wq!

__ 
    This communication is intended for the use of the recipient to whom it
    is addressed, and may contain confidential, personal, and or privileged
    information. Please contact us immediately if you are not the intended
    recipient of this communication, and do not copy, distribute, or take
    action relying on it. Any communications received in error, or
    subsequent reply, should be deleted or destroyed.
---

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


Re: does dbcp rollback?

Posted by Dirk Verbeeck <di...@pandora.be>.
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