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

DatabaseMetaData .locatorsUpdateCopy() should return true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.2.0
    • 10.2.2.1, 10.3.1.4
    • JDBC
    • None
    • Any

    Description

      Since updates made to a BLOB or CLOB value in Derby is made on a copy, DatabaseMetaData .locatorsUpdateCopy() call should return true. For the embedded driver the functionality to update a LOB value is new in 10.3. For the client driver, updates have been possible in prior releases, and locatorsUpdateCopy() has returned false. That behavior was wrong since the client updated a main-memory copy, not the values in the database. For 10.3, the client will use a locator based implementation which will rely on the behavior of the embedded driver. Hence, locatorsUpdateCopy() should return true in both cases.

      Attachments

        1. derby-2789.stat
          0.2 kB
          Oystein Grovlen
        2. derby-2789.diff
          2 kB
          Oystein Grovlen
        3. derby10.2-2789.diff
          1 kB
          Oystein Grovlen

        Activity

          People

            oysteing Oystein Grovlen
            oysteing Oystein Grovlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: