openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mprud...@apache.org
Subject svn commit: r447558 - /incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
Date Mon, 18 Sep 2006 21:08:21 GMT
Author: mprudhom
Date: Mon Sep 18 14:08:21 2006
New Revision: 447558

URL: http://svn.apache.org/viewvc?view=rev&rev=447558
Log:
Fixed default type for binaryTypeName, varbinaryTypeName, and longVarbinaryTypeName to be
"BLOB" (rather than "VARBINARY", which does not exist as a type for Oracle).

Modified:
    incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java

Modified: incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java?view=diff&rev=447558&r1=447557&r2=447558
==============================================================================
--- incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
(original)
+++ incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/OracleDictionary.java
Mon Sep 18 14:08:21 2006
@@ -135,6 +135,9 @@
         smallintTypeName = "NUMBER{0}";
         tinyintTypeName = "NUMBER{0}";
         longVarcharTypeName = "LONG";
+        binaryTypeName = "BLOB";
+        varbinaryTypeName = "BLOB";
+        longVarbinaryTypeName = "BLOB";
         timeTypeName = "DATE";
         varcharTypeName = "VARCHAR2{0}";
         fixedSizeTypeNameSet.addAll(Arrays.asList(new String[]{



Mime
View raw message