Author: steve.ebersole(a)jboss.com
Date: 2006-09-01 17:40:48 -0400 (Fri, 01 Sep 2006)
New Revision: 10430
Modified:
trunk/Hibernate3/test/org/hibernate/test/dynamicentity/tuplizer/TuplizerDynamicEntityTest.java
Log:
test data cleanup
Modified:
trunk/Hibernate3/test/org/hibernate/test/dynamicentity/tuplizer/TuplizerDynamicEntityTest.java
===================================================================
---
trunk/Hibernate3/test/org/hibernate/test/dynamicentity/tuplizer/TuplizerDynamicEntityTest.java 2006-09-01
21:39:45 UTC (rev 10429)
+++
trunk/Hibernate3/test/org/hibernate/test/dynamicentity/tuplizer/TuplizerDynamicEntityTest.java 2006-09-01
21:40:48 UTC (rev 10430)
@@ -106,5 +106,13 @@
assertEquals( "querying dynamic entity", 3, count );
session.getTransaction().commit();
session.close();
+
+ // test deleteing
+ session = openSession( new EntityNameInterceptor() );
+ session.beginTransaction();
+ session.delete( company );
+ session.delete( customer );
+ session.getTransaction().commit();
+ session.close();
}
}
Show replies by date