Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Using jdbc to write data to Clob column
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
![]() |
![]() |