Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
10.11.1.1
-
None
-
Normal
-
Repro attached
Description
In DERBY-6214, the workaround of using PreparedStatement.setString instead of setObject works only for smaller Strings but it fails in client server case when updating two or more rows and using setString with very large string. A reproducible test case is attached to DERBY-6214. The exception thrown is
java.io.EOFException: Stream has already been read and end-of-file reached and cannot be re-used.
Attachments
Issue Links
- relates to
-
DERBY-6214 PreparedStatement.setObject(int, Object, Types.CLOB) fail with DerbyNet
- Open
-
DERBY-6237 PreparedStatement.execute() fails starting 10.2 when multiple rows are updated and PreparedStatement.setCharacterStream(int, Reader, int) is used
- Open