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