Skip to content

Commit 40e1dfd

Browse files
committed
put back call to delayedAfterCompletion()
1 parent 5a3b7bd commit 40e1dfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,7 @@ else if ( isPersistentAttributeInterceptable( object ) ) {
16321632
public boolean contains(Object object) {
16331633
checkOpen();
16341634
pulseTransactionCoordinator();
1635+
delayedAfterCompletion();
16351636

16361637
if ( object == null ) {
16371638
//TODO: this should throw IllegalArgumentException
@@ -1703,6 +1704,7 @@ private void assertInstanceOfEntityType(Object object) {
17031704
public boolean contains(String entityName, Object object) {
17041705
checkOpenOrWaitingForAutoClose();
17051706
pulseTransactionCoordinator();
1707+
delayedAfterCompletion();
17061708

17071709
if ( object == null ) {
17081710
return false;

0 commit comments

Comments
 (0)