Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-63

Better pessimistic lock support for DB2 v8.2+

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.7
    • jdbc
    • None
    • IBM DB2 UDB v8.2 or later

    Description

      There is new SELECT "FOR READ ONLY WITH RS USE AND KEEP EXCLUSIVE LOCKS" syntax in DB2 v8.2 and later that can be used to implement pessimistic locks for selects with multiple from tables, subselects, inner/outer joins and so forth. I'll attach simple patch shortly.

      Attachments

        1. db2-selectForUpdate2.patch.diff
          7 kB
          Igor Fedorenko
        2. db2-selectForUpdate.patch
          3 kB
          Igor Fedorenko

        Activity

          People

            kwsutter Kevin W. Sutter
            igorfie@yahoo.com Igor Fedorenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: