Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6245

PreparedStatement.setString fails in client server case when the String size is 10923 or larger and PreparedStatement updates more than one row

    XMLWordPrintableJSON

    Details

    • Urgency:
      Normal
    • Issue & fix info:
      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

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mamtas Mamta A. Satoor
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: