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)) {