Author: steve.ebersole(a)jboss.com
Date: 2009-06-29 07:51:09 -0400 (Mon, 29 Jun 2009)
New Revision: 16961
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java
Log:
test data cleanup
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java
===================================================================
---
core/trunk/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java 2009-06-29
11:48:29 UTC (rev 16960)
+++
core/trunk/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java 2009-06-29
11:51:09 UTC (rev 16961)
@@ -1063,6 +1063,7 @@
try {
Simple dummy = (Simple) session.get( Simple.class, new Long(-1) );
assertNotNull("Unable to locate entity Simple with id = -1", dummy);
+ session.delete( dummy );
}
catch(ObjectNotFoundException onfe) {
fail("Unable to locate entity Simple with id = -1");
Show replies by date