You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ba...@apache.org on 2004/11/23 20:59:27 UTC
svn commit: r106336 - /incubator/derby/code/trunk/java/engine/org/apache/derby/iapi/types/TypeId.java
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();
}