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

Clob.getCharacterStream(long,long) ignores position parameter for large (>32k) CLOBs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.1.4, 10.4.1.3
    • Component/s: JDBC
    • Labels:
      None
    • Environment:
      JDBC 4.0

      Description

      When a CLOB larger than 32k is fetched, Clob.getCharacterStream(long,long) ignores the position parameter and starts reading from the beginning of the CLOB. Will attach a repro.

        Attachments

        1. ClobTest.java
          1.0 kB
          Knut Anders Hatlen
        2. d2891.diff
          2 kB
          Knut Anders Hatlen
        3. d2891-test.diff
          3 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: