[hibernate-commits] Hibernate SVN: r10721 - branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Nov 6 06:35:54 EST 2006


Author: max.andersen at jboss.com
Date: 2006-11-06 06:35:51 -0500 (Mon, 06 Nov 2006)
New Revision: 10721

Modified:
   branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/ASTParserLoadingTest.java
Log:
Updates for Ingres certification

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-06 11:35:40 UTC (rev 10720)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/hql/ASTParserLoadingTest.java	2006-11-06 11:35:51 UTC (rev 10721)
@@ -1550,7 +1550,9 @@
 	}
 
 	public void testSubselectBetween() {
-		assertResultSize("from Animal x where (select max(a.bodyWeight) from Animal a) in (1,2,3)", 0);
+		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);




More information about the hibernate-commits mailing list