mirror of https://github.com/apache/openjpa.git
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/trunk@641408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
608a906aaf
commit
dbb722f5ec
|
@ -206,12 +206,9 @@ public class OracleDictionary
|
||||||
timestampTypeName = "DATE"; // added oracle 9
|
timestampTypeName = "DATE"; // added oracle 9
|
||||||
supportsXMLColumn = false;
|
supportsXMLColumn = false;
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
// select of an xml column requires ".getStringVal()"
|
// select of an xml column requires ".getStringVal()"
|
||||||
// suffix. eg. t0.xmlcol.getStringVal()
|
// suffix. eg. t0.xmlcol.getStringVal()
|
||||||
getStringVal = ".getStringVal()";
|
getStringVal = ".getStringVal()";
|
||||||
joinSyntax = SYNTAX_SQL92;
|
|
||||||
}
|
|
||||||
} else if (metadataClassName.startsWith("com.ddtek.")
|
} else if (metadataClassName.startsWith("com.ddtek.")
|
||||||
|| url.indexOf("jdbc:datadirect:oracle:") != -1
|
|| url.indexOf("jdbc:datadirect:oracle:") != -1
|
||||||
|| "Oracle".equals(driverName)) {
|
|| "Oracle".equals(driverName)) {
|
||||||
|
|
Loading…
Reference in New Issue