Oops, let's put those statements int the right order.

This commit is contained in:
Michael Bayne
2014-10-01 14:33:08 -07:00
parent 872b2d9ef3
commit 9cead5e7e5
@@ -107,8 +107,8 @@ public class Transaction {
ctx._conprov.releaseTxConnection(ctx._ident, _conn);
}
} catch (SQLException sqe) {
throw new DatabaseException("Transaction commit failure", sqe);
connectionFailed(sqe);
throw new DatabaseException("Transaction commit failure", sqe);
} finally {
_conn = null;
_activeTx.set(null);
@@ -127,8 +127,8 @@ public class Transaction {
ctx._conprov.releaseTxConnection(ctx._ident, _conn);
}
} catch (SQLException sqe) {
throw new DatabaseException("Transaction rollback failure", sqe);
connectionFailed(sqe);
throw new DatabaseException("Transaction rollback failure", sqe);
} finally {
_conn = null;
_activeTx.set(null);