db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r440517 - /db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java
Date Tue, 05 Sep 2006 22:43:24 GMT
Author: kahatlen
Date: Tue Sep  5 15:43:23 2006
New Revision: 440517

URL: http://svn.apache.org/viewvc?view=rev&rev=440517
Log:
DERBY-1813: Fix hard-coded JDBC 4.0 type constants

Updated JDBC40Translation with the new values.

Modified:
    db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java

Modified: db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java?view=diff&rev=440517&r1=440516&r2=440517
==============================================================================
--- db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java
(original)
+++ db/derby/code/trunk/java/shared/org/apache/derby/shared/common/reference/JDBC40Translation.java
Tue Sep  5 15:43:23 2006
@@ -56,10 +56,10 @@
     public static final int FUNCTION_NULLABLE_UNKNOWN  = 2;
 
     // constants from java.sql.Types
-    public static final int NCHAR = -8;
+    public static final int NCHAR = -15;
     public static final int NVARCHAR = -9;
-    public static final int LONGNVARCHAR = -10;
-    public static final int NCLOB = 2007;
-    public static final int ROWID = 2008;
+    public static final int LONGNVARCHAR = -16;
+    public static final int NCLOB = 2011;
+    public static final int ROWID = -8;
     public static final int SQLXML = 2009;
 }



Mime
View raw message