Author: stliu
Date: 2010-09-01 16:05:34 -0400 (Wed, 01 Sep 2010)
New Revision: 20304
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/FooBarTest.java
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java
Log:
JBPAPP-3911 Oracle 11g R2 RAC - LockMode.UPGRADE causes "No more data to read from
socket"
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/FooBarTest.java
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/FooBarTest.java 2010-09-01
18:58:32 UTC (rev 20303)
+++
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/FooBarTest.java 2010-09-01
20:05:34 UTC (rev 20304)
@@ -1264,7 +1264,10 @@
}
public void testQueryLockMode() throws Exception {
-
+ if(getDialect() instanceof Oracle8iDialect){
+ reportSkip("JBPAPP-3911", "please refer to
https://jira.jboss.org/browse/JBPAPP-3911 for more details");
+ return;
+ }
Session s = openSession();
Transaction tx = s.beginTransaction();
Bar bar = new Bar();
Modified:
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java
===================================================================
---
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java 2010-09-01
18:58:32 UTC (rev 20303)
+++
core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java 2010-09-01
20:05:34 UTC (rev 20304)
@@ -27,6 +27,8 @@
import org.hibernate.dialect.DB2Dialect;
import org.hibernate.dialect.HSQLDialect;
import org.hibernate.dialect.MySQLDialect;
+import org.hibernate.dialect.Oracle8iDialect;
+import org.hibernate.dialect.OracleDialect;
import org.hibernate.engine.EntityEntry;
import org.hibernate.impl.SessionImpl;
import org.hibernate.junit.functional.FunctionalTestClassTestSuite;
@@ -204,6 +206,10 @@
}
public void testComplexCriteria() throws Exception {
+ if(getDialect() instanceof Oracle8iDialect){
+ reportSkip("JBPAPP-3911", "please refer to
https://jira.jboss.org/browse/JBPAPP-3911 for more details");
+ return;
+ }
Session s = openSession();
Transaction t = s.beginTransaction();
Baz baz = new Baz();