db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satheesh Bandaram <sathe...@Sourcery.Org>
Subject Re: [PATCH] Derby-21 ResultsetMetaData.getColumnClassName() for CLOB and BLOB
Date Tue, 23 Nov 2004 23:26:03 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA1 <br>
&nbsp;<br>
Submitted this patch. Thanks, Amit.<br>
<br>
Satheesh<br>
<br>
Sending&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; java\engine\org\apache\derby\iapi\types\TypeId.java<br>
Transmitting file data .<br>
Committed revision 106336.<br>
<br>
Amit Handa wrote:<br>
<br>
&gt;Hi,<br>
&gt;<br>
&gt;I am submitting patch for<br>
&gt;Derby-21<br>
&gt;--------<br>
&gt;ResultsetMetaData.getColumnClassName() for CLOB and BLOB<br>
&gt;datatypes is incorrect.<br>
&gt;<br>
&gt;As attached.<br>
&gt;<br>
&gt;Kindly consider the fix.<br>
&gt;<br>
&gt;thanks,<br>
&gt;Amit Handa,<br>
&gt;Sun Microsystems Inc.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;-------------------------<br>
&gt;<br>
&gt;Index: java/engine/org/apache/derby/iapi/types/TypeId.java<br>
&gt;===================================================================<br>
&gt;--- java/engine/org/apache/derby/iapi/types/TypeId.java&nbsp;&nbsp;&nbsp;
(revision 106156)<br>
&gt;+++ java/engine/org/apache/derby/iapi/types/TypeId.java&nbsp;&nbsp;&nbsp;
(working
copy)<br>
&gt;@@ -1290,11 +1290,11 @@<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
*/<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public
String getResultSetMetaDataTypeName()<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
&gt;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (BLOB_ID == this)<br>
&gt;+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (BLOB_ID.equals(this))<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return "java.sql.Blob";<br>
&gt;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (CLOB_ID == this)<br>
&gt;+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (CLOB_ID.equals(this))<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return "java.sql.Clob";<br>
&gt;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (NCLOB_ID == this)<br>
&gt;+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if (NCLOB_ID.equals(this))<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return "java.sql.Clob";<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
return getCorrespondingJavaTypeName();<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
-----BEGIN PGP SIGNATURE----- <br>
Version: GnuPG v1.2.5 (MingW32) <br>
Comment: Using GnuPG with Thunderbird - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a>
<br>
&nbsp;<br>
iD8DBQFBo8cLENVNIY6DZ7ERArd1AKCtu9Liri7RYc8ns8PwN4pmxCxsNACeKqEF <br>
16Iqu1rN2BI3Q+3JY2b56YA= <br>
=XwIy <br>
-----END PGP SIGNATURE----- <br>
<br>
</body>
</html>

Mime
View raw message