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

    • 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

          Activity

            People

              Unassigned Unassigned
              mamtas Mamta A. Satoor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: