diff --git a/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java b/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java index 96ed9a9216..6a317c9d65 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java @@ -322,6 +322,11 @@ public class BasicHibernateAnnotationsTest extends BaseCoreFunctionalTestCase { tx.commit(); s.close(); + s = openSession(); + tx = s.beginTransaction(); + s.createQuery( "delete from " + Narrative.class.getSimpleName() ).executeUpdate(); + tx.commit(); + s.close(); } @Test