src/main/java/org/mybatis/spring/transaction/SpringManagedTransaction.java ``` /** * {@inheritDoc} */ @Override public void rollback() throws SQLException { if (this.connection != null && !this.isConnectionTransactional && !this.autoCommit) { LOGGER.debug(() -> "Rolling back JDBC Connection [" + this.connection + "]"); this.connection.rollback(); } } ``` ``` this.connection != null && !this.isConnectionTransactional && !this.autoCommit ```