[hibernate-commits] Hibernate SVN: r10872 - branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Tue Nov 28 05:39:33 EST 2006
Author: max.andersen at jboss.com
Date: 2006-11-28 05:39:32 -0500 (Tue, 28 Nov 2006)
New Revision: 10872
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/ASTParserLoadingTest.java
Log:
adjusted test case for Ingres.
Modified: branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/ASTParserLoadingTest.java
===================================================================
--- branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/ASTParserLoadingTest.java 2006-11-28 10:39:27 UTC (rev 10871)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/ASTParserLoadingTest.java 2006-11-28 10:39:32 UTC (rev 10872)
@@ -1624,10 +1624,10 @@
public void testSubselectBetween() {
if(supportsSubselectOnLeftSideIn()) {
assertResultSize("from Animal x where (select max(a.bodyWeight) from Animal a) in (1,2,3)", 0);
+ assertResultSize("from Animal x where (select max(a.bodyWeight) from Animal a) between 0 and 100", 0);
+ assertResultSize("from Animal x where (select max(a.description) from Animal a) like 'big%'", 0);
+ assertResultSize("from Animal x where (select max(a.bodyWeight) from Animal a) is not null", 0);
}
- assertResultSize("from Animal x where (select max(a.bodyWeight) from Animal a) between 0 and 100", 0);
- assertResultSize("from Animal x where (select max(a.description) from Animal a) like 'big%'", 0);
- assertResultSize("from Animal x where (select max(a.bodyWeight) from Animal a) is not null", 0);
assertResultSize("from Animal x where exists (select max(a.bodyWeight) from Animal a)", 0);
}
More information about the hibernate-commits
mailing list