HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection

test data cleanup
This commit is contained in:
Brett Meyer 2014-04-07 14:06:17 -04:00
parent c98c4869a8
commit 3ed2d7a35c
1 changed files with 5 additions and 0 deletions

View File

@ -330,6 +330,11 @@ public class BasicHibernateAnnotationsTest extends BaseCoreFunctionalTestCase {
tx.commit(); tx.commit();
s.close(); s.close();
s = openSession();
tx = s.beginTransaction();
s.createQuery( "delete from " + Narrative.class.getSimpleName() ).executeUpdate();
tx.commit();
s.close();
} }
@Test @Test