From: <hib...@li...> - 2006-05-09 09:43:14
|
Author: max...@jb... Date: 2006-05-09 05:43:09 -0400 (Tue, 09 May 2006) New Revision: 9916 Modified: trunk/Hibernate3/test/org/hibernate/test/typedonetoone/TypedOneToOneTest.java Log: minor Modified: trunk/Hibernate3/test/org/hibernate/test/typedonetoone/TypedOneToOneTest.java =================================================================== --- trunk/Hibernate3/test/org/hibernate/test/typedonetoone/TypedOneToOneTest.java 2006-05-09 09:38:15 UTC (rev 9915) +++ trunk/Hibernate3/test/org/hibernate/test/typedonetoone/TypedOneToOneTest.java 2006-05-09 09:43:09 UTC (rev 9916) @@ -65,17 +65,6 @@ t.commit(); s.close(); - s = openSession(); - t = s.beginTransaction(); - cust.setBillingAddress( null ); - cust.setShippingAddress( null ); - s.delete( cust ); - ((org.hibernate.classic.Session)s).delete("from BillingAddress"); - ((org.hibernate.classic.Session)s).delete("from ShippingAddress"); - s.flush(); - t.commit(); - s.close(); - } public void testCreateQueryNull() { |