dcsimg
<P align=left>How can I retieve a <FONT !_NEWLINE_!color=red><STRONG>Clob</STRONG></FONT> data</P>
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, March 1, 2002 01:01 PM

I'm using color=blue>rsTable.getClob("field") but it give me an error: found : java.sql.Clob required: java.lang.String I quit the java.sql.Clob class, but still show the message, and I already check the import sentences, but I just cannot find the error and I can't get the data. If I put color=blue>rsTable.getString("field") and the field in the DB is empty, do not show any error, but it does it if the register have something WHY?? JJ    More>>

I'm using
color=blue>rsTable.getClob("field")
but it give me an error:


found : java.sql.Clob
required: java.lang.String


I quit the
java.sql.Clob class, but still show the message, and I already check the
import sentences, but I just cannot find the error and I can't get the
data.


If I put
color=blue>rsTable.getString("field")
and the field in the DB is
empty, do not show any error, but it does it if the register have something


WHY??


JJ

   <<Less

Re: <P align=left>How can I retieve a <FONT !_NEWLINE_!color=red><STRONG>Clob</STRONG></FONT> data</P>

Posted By:   Shirish_Bathe  
Posted On:   Friday, March 1, 2002 01:50 PM

Please visit following link :

http://java.sun.com/j2se/1.3/docs/guide/jdbc/clob.html




If Still you have problem please post source code and error description .





Thanks



Shirish

About | Sitemap | Contact