Scratch that, we already checked.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2152 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -244,7 +244,7 @@ public class SimpleRepository extends Repository
|
||||
} finally {
|
||||
if (conn != null) {
|
||||
// restore our auto-commit settings
|
||||
if (oldAutoCommit != null && conn != null && !conn.isClosed()) {
|
||||
if (oldAutoCommit != null && !conn.isClosed()) {
|
||||
try {
|
||||
conn.setAutoCommit(oldAutoCommit);
|
||||
} catch (SQLException sace) {
|
||||
|
||||
Reference in New Issue
Block a user