diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/collection/delayedOperation/DetachedBagDelayedOperationTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/collection/delayedOperation/DetachedBagDelayedOperationTest.java index d9f24fa1b2..dbc4b9ccdf 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/collection/delayedOperation/DetachedBagDelayedOperationTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/collection/delayedOperation/DetachedBagDelayedOperationTest.java @@ -166,6 +166,8 @@ public class DetachedBagDelayedOperationTest { assertFalse( opDetachedWatcher.wasTriggered() ); assertFalse( opRollbackWatcher.wasTriggered() ); + session.find( Parent.class, 1L ); + return p; } );