File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/org/apache/ibatis/transaction/jdbc Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,12 @@ public class JdbcTransaction implements Transaction {
4242 protected Connection connection ;
4343 protected DataSource dataSource ;
4444 protected TransactionIsolationLevel level ;
45- // MEMO: We are aware of the typo. See #941
46- protected boolean autoCommmit ;
45+ protected boolean autoCommit ;
4746
4847 public JdbcTransaction (DataSource ds , TransactionIsolationLevel desiredLevel , boolean desiredAutoCommit ) {
4948 dataSource = ds ;
5049 level = desiredLevel ;
51- autoCommmit = desiredAutoCommit ;
50+ autoCommit = desiredAutoCommit ;
5251 }
5352
5453 public JdbcTransaction (Connection connection ) {
@@ -140,7 +139,7 @@ protected void openConnection() throws SQLException {
140139 if (level != null ) {
141140 connection .setTransactionIsolation (level .getLevel ());
142141 }
143- setDesiredAutoCommit (autoCommmit );
142+ setDesiredAutoCommit (autoCommit );
144143 }
145144
146145 @ Override
You can’t perform that action at this time.
0 commit comments