openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r1133904 - in /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql: DerbyDictionary.java HSQLDictionary.java
Date Thu, 09 Jun 2011 14:55:26 GMT
Author: mikedd
Date: Thu Jun  9 14:55:25 2011
New Revision: 1133904

URL: http://svn.apache.org/viewvc?rev=1133904&view=rev
Log:
OPENJPA-2013: Add TEXT to the fixed size type list for Derby and HSQL

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java?rev=1133904&r1=1133903&r2=1133904&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DerbyDictionary.java
Thu Jun  9 14:55:25 2011
@@ -71,7 +71,7 @@ public class DerbyDictionary
         supportsComments = true;
 
         fixedSizeTypeNameSet.addAll(Arrays.asList(new String[]{
-            "BIGINT", "INTEGER",
+            "BIGINT", "INTEGER", "TEXT"
         }));
         reservedWordSet.addAll(Arrays.asList(new String[]{
             "BOOLEAN", "CALL", "ENDEXEC", "EXPLAIN", "FUNCTION",

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java?rev=1133904&r1=1133903&r2=1133904&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
Thu Jun  9 14:55:25 2011
@@ -91,6 +91,10 @@ public class HSQLDictionary extends DBDi
             "SAVEPOINT", "TEMP", "TEXT", "TRIGGER", "TINYINT",
             "VARBINARY", "VARCHAR_IGNORECASE",
         }));
+        
+        fixedSizeTypeNameSet.addAll(Arrays.asList(new String[]{
+            "TEXT"
+        }));
     }
 
     /**



Mime
View raw message