Author: stliu
Date: 2011-04-07 06:05:34 -0400 (Thu, 07 Apr 2011)
New Revision: 20926
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/hqlfetchscroll/HQLScrollFetchTest.java
Log:
JBPAPP-5898 HHH-1283 ScrollableResults JoinFetch don't set child collection correctly
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/hqlfetchscroll/HQLScrollFetchTest.java
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/hqlfetchscroll/HQLScrollFetchTest.java 2011-04-06
05:26:11 UTC (rev 20925)
+++
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/hqlfetchscroll/HQLScrollFetchTest.java 2011-04-07
10:05:34 UTC (rev 20926)
@@ -7,6 +7,8 @@
import org.hibernate.ScrollableResults;
import org.hibernate.Session;
import org.hibernate.Transaction;
+import org.hibernate.dialect.Oracle8iDialect;
+import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.junit.functional.FunctionalTestCase;
import org.hibernate.transform.DistinctRootEntityResultTransformer;
@@ -32,6 +34,9 @@
}
public void testScroll() {
+ if( getDialect() instanceof SQLServerDialect || getDialect() instanceof Oracle8iDialect
){
+ reportSkip( "SQL Server and Oracle do not sort the result set automatically, so
failure as expected","HQLScrollFetchTest" );
+ }
try {
insertTestData();
Session s = openSession();
Show replies by date