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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4, 10.4.1.3
    • JDBC
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: