Skip to content

Commit 2fa9ef9

Browse files
committed
do not reset Session itself on "clear()" in order to properly interact with Open Session in View (SPR-8909)
1 parent d507c2b commit 2fa9ef9

File tree

1 file changed

+0
-1
lines changed
  • org.springframework.orm/src/main/java/org/springframework/orm/hibernate4

1 file changed

+0
-1
lines changed

org.springframework.orm/src/main/java/org/springframework/orm/hibernate4/SessionHolder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public FlushMode getPreviousFlushMode() {
7373
@Override
7474
public void clear() {
7575
super.clear();
76-
this.session = null;
7776
this.transaction = null;
7877
this.previousFlushMode = null;
7978
}

0 commit comments

Comments
 (0)