Subject | Closing an autoCommit=false connection |
---|---|
Author | Rick DeBay |
Post date | 2005-03-15T16:10:39Z |
If I have a connection and autoCommit is false, and some statements have
been executed, and then close it, is the work committed or rolled back?
In my finally block, can I call rollback before the close to make sure
any statements that weren't explicitly committed are rolled back? Will
this throw an exception if the statements were committed?
Rick DeBay
Senior Software Developer
RxStrategies.net
been executed, and then close it, is the work committed or rolled back?
In my finally block, can I call rollback before the close to make sure
any statements that weren't explicitly committed are rolled back? Will
this throw an exception if the statements were committed?
Rick DeBay
Senior Software Developer
RxStrategies.net