Author: steve.ebersole(a)jboss.com
Date: 2006-10-18 21:42:50 -0400 (Wed, 18 Oct 2006)
New Revision: 10612
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/DiscrimSubclassFilterTest.java
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java
Log:
fixed test issue on HSQLDB
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/DiscrimSubclassFilterTest.java
===================================================================
---
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/DiscrimSubclassFilterTest.java 2006-10-18
22:09:34 UTC (rev 10611)
+++
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/DiscrimSubclassFilterTest.java 2006-10-19
01:42:50 UTC (rev 10612)
@@ -79,6 +79,8 @@
s = openSession();
t = s.beginTransaction();
+ s.createQuery( "delete Customer where contactOwner is not null"
).executeUpdate();
+ s.createQuery( "delete Employee where manager is not null"
).executeUpdate();
s.createQuery( "delete Person" ).executeUpdate();
t.commit();
s.close();
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java
===================================================================
---
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java 2006-10-18
22:09:34 UTC (rev 10611)
+++
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/subclassfilter/JoinedSubclassFilterTest.java 2006-10-19
01:42:50 UTC (rev 10612)
@@ -90,6 +90,8 @@
s = openSession();
t = s.beginTransaction();
+ s.createQuery( "delete Customer where contactOwner is not null"
).executeUpdate();
+ s.createQuery( "delete Employee where manager is not null"
).executeUpdate();
s.createQuery( "delete Person" ).executeUpdate();
t.commit();
s.close();
Show replies by date