Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Using jdbc to write data to Clob column

Re: Using jdbc to write data to Clob column

From: Mike Ault <mikerault_at_earthlink.net>
Date: 23 Jun 2002 03:36:42 -0700
Message-ID: <37fab3ab.0206230236.6b0cff2d@posting.google.com>


Go to Yahoo, join the Lazyscripts group and download the graphics applicaiton file. It has a Java example.

Mike
"J. Harris" <harris.john.a_at_worldnet.att.net> wrote in message news:<vjwQ8.46846$LC3.3573749_at_bgtnsc04-news.ops.worldnet.att.net>...
> I'm trying to get the following code to work, however when I do run the code
> below I get an Io exception: Connect reset by peer: socket write error...
>
> if (column.isClob())
> {
> String str = column.getValue();
> int strlength = str.length();
> Reader reader = new StringReader(str);
> stmt.setCharacterStream(ps++, reader, rlength);
> }
>
> int ret = stmt.executeUpdate();
>
> Any ideas?
Received on Sun Jun 23 2002 - 05:36:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US