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.
2 parents 17292b4 + 2938e83 commit 8c5474bCopy full SHA for 8c5474b
src/main/java/org/apache/ibatis/session/SqlSessionManager.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2009-2021 the original author or authors.
+ * Copyright 2009-2022 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -333,7 +333,7 @@ public void close() {
333
try {
334
sqlSession.close();
335
} finally {
336
- localSqlSession.set(null);
+ localSqlSession.remove();
337
}
338
339
0 commit comments