forked from plusone/simple-jdbc
fix: typo
This commit is contained in:
@@ -308,7 +308,7 @@ public class SimpleJdbcTemplate implements JdbcOperations {
|
||||
}
|
||||
catch (Exception e) {
|
||||
conn.rollback();
|
||||
throw new SQLException("Translation failed during execution", e);
|
||||
throw new SQLException("Transaction failed during execution", e);
|
||||
}
|
||||
finally {
|
||||
conn.setAutoCommit(autoCommit);
|
||||
@@ -343,7 +343,7 @@ public class SimpleJdbcTemplate implements JdbcOperations {
|
||||
}
|
||||
catch (Exception e) {
|
||||
conn.rollback();
|
||||
throw new SQLException("Translation failed during execution", e);
|
||||
throw new SQLException("Transaction failed during execution", e);
|
||||
}
|
||||
finally {
|
||||
conn.setAutoCommit(autoCommit);
|
||||
|
||||
Reference in New Issue
Block a user