Skip to content

Commit 4a2bf46

Browse files
authored
Update JdbcTransaction.java
update a variable name in JdbcTransaction class.
1 parent 17e9687 commit 4a2bf46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/apache/ibatis/transaction/jdbc/JdbcTransaction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public class JdbcTransaction implements Transaction {
4242
protected Connection connection;
4343
protected DataSource dataSource;
4444
protected TransactionIsolationLevel level;
45-
protected boolean autoCommmit;
45+
protected boolean autoCommit;
4646

4747
public JdbcTransaction(DataSource ds, TransactionIsolationLevel desiredLevel, boolean desiredAutoCommit) {
4848
dataSource = ds;
4949
level = desiredLevel;
50-
autoCommmit = desiredAutoCommit;
50+
autoCommit = desiredAutoCommit;
5151
}
5252

5353
public JdbcTransaction(Connection connection) {
@@ -139,7 +139,7 @@ protected void openConnection() throws SQLException {
139139
if (level != null) {
140140
connection.setTransactionIsolation(level.getLevel());
141141
}
142-
setDesiredAutoCommit(autoCommmit);
142+
setDesiredAutoCommit(autoCommit);
143143
}
144144

145145
@Override

0 commit comments

Comments
 (0)