From 3b779943afd01ac1c26b2bce1f131a087f4d7519 Mon Sep 17 00:00:00 2001 From: Catalina Wei Date: Wed, 26 Mar 2008 17:06:46 +0000 Subject: [PATCH] OPENJPA-541 backout changes. Customer reported that SQL92 joins are bit slower compare to oracle joins (+) and there are known bugs with SQL92 joins. git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.0.x@641408 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/jdbc/sql/OracleDictionary.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java index 26addc3cb..8a94146c9 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java @@ -199,12 +199,10 @@ public class OracleDictionary timestampTypeName = "DATE"; // added oracle 9 supportsXMLColumn = false; } - else { + else // select of an xml column requires ".getStringVal()" // suffix. eg. t0.xmlcol.getStringVal() getStringVal = ".getStringVal()"; - joinSyntax = SYNTAX_SQL92; - } } else if (metadataClassName.startsWith("com.ddtek.") || url.indexOf("jdbc:datadirect:oracle:") != -1 || "Oracle".equals(driverName)) {