diff --git a/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java b/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java index 6e20e4fe8f..4b2e07b7f9 100644 --- a/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java +++ b/testsuite/src/test/java/org/hibernate/test/naturalid/immutable/ImmutableNaturalIdTest.java @@ -233,7 +233,7 @@ public class ImmutableNaturalIdTest extends FunctionalTestCase { assertEquals( getSessions().getStatistics().getQueryCachePutCount(), 1 ); getSessions().getStatistics().clear(); - + s.getTransaction().commit(); s = openSession(); s.beginTransaction(); u = ( User ) s.createCriteria( User.class )