From b7aa94749e22b1ecf4e6b0a6e625dd2e2f4af5bf Mon Sep 17 00:00:00 2001 From: Marc Prud'hommeaux Date: Mon, 18 Sep 2006 21:08:21 +0000 Subject: [PATCH] Fixed default type for binaryTypeName, varbinaryTypeName, and longVarbinaryTypeName to be "BLOB" (rather than "VARBINARY", which does not exist as a type for Oracle). git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@447558 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/jdbc/sql/OracleDictionary.java | 3 +++ 1 file changed, 3 insertions(+) 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 e4b24b43f..729d26889 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 @@ -135,6 +135,9 @@ public class OracleDictionary 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[]{