We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a1e4a8 commit 7ad8c2fCopy full SHA for 7ad8c2f
src/main/java/org/mybatis/spring/SqlSessionUtils.java
@@ -89,7 +89,7 @@ public static SqlSession getSqlSession(SqlSessionFactory sessionFactory, Executo
89
logger.debug("Fetching SqlSession from current transaction");
90
}
91
92
- if (!holder.getExecutorType().equals(executorType)) {
+ if (holder.getExecutorType() != executorType) {
93
throw new TransientDataAccessResourceException(
94
"cannot change the ExecutorType when there is an existing transaction");
95
0 commit comments