You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constructor for JdbcTranscation with connection should either never trigger a auto commit reset or should check skipSetAutoCommitOnClose flag.
MyBatis version
3.5.13
Database vendor and version
Oracle 19.3 SE2 (probably all other databases)
Test case or example project
Connectionconn = null; // get connection from poolconn.setAutoCommit(false);
// do something via jdbcSqlSessionFactorysqlSessionFactory = null; // create factory with skipSetAutoCommitOnCloseSqlSessionsqlSession = sqlSessionFactory.openSession(conn);
// to nothingsqlSession.close(); // auto commit is set in close, everything is committed
Steps to reproduce
Open a connection via jdbc
Set auto commit to false
Open a SqlSession
Close SqlSession
Expected result
Auto commit is still false, no auto commit is done on close
Actual result
Auto commit is true, commit is done on close
The text was updated successfully, but these errors were encountered:
The constructor for JdbcTranscation with connection should either never trigger a auto commit reset or should check skipSetAutoCommitOnClose flag.
MyBatis version
3.5.13
Database vendor and version
Oracle 19.3 SE2 (probably all other databases)
Test case or example project
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: