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

LOB locks are not released after free().

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.2.0, 10.3.1.4
    • 10.3.2.1, 10.4.1.3
    • Store
    • None
    • Any

    Description

      When getBlob/getClob is called on the ResultSet, the current row is
      locked if the JDBC driver does not cache the entire LOB value in
      memory. This is done to prevent the Blob/Clob object from being
      changed. Until now, this lock has been held to the end of the
      transaction.

      JDBC4 introduced free() methods for the Blob/Clob class. The locking
      should be changed so that the locks is releases when the Blob/Clob
      object is freed.

      Attachments

        1. derby-3098fix.diff
          4 kB
          Oystein Grovlen
        2. derby-3098fix+tests.diff
          24 kB
          Oystein Grovlen

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: