db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: r106336 - /incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java
Date Tue, 23 Nov 2004 19:59:27 GMT
Author: bandaram
Date: Tue Nov 23 11:59:26 2004
New Revision: 106336

Modified:
   incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java
Log:
Derby-21: ResultsetMetaData.getColumnClassName() for CLOB and BLOB is incorrect

Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java
Url: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java?view=diff&rev=106336&p1=incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java&r1=106335&p2=incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java&r2=106336
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java	(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java	Tue Nov
23 11:59:26 2004
@@ -1290,11 +1290,11 @@
          */
         public String getResultSetMetaDataTypeName()
         {
-            if (BLOB_ID == this)
+            if (BLOB_ID.equals(this))
                 return "java.sql.Blob";
-            if (CLOB_ID == this)
+            if (CLOB_ID.equals(this))
                 return "java.sql.Clob";
-            if (NCLOB_ID == this)
+            if (NCLOB_ID.equals(this))
                 return "java.sql.Clob";
             return getCorrespondingJavaTypeName();
         }

Mime
View raw message