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

Refresh of versioned entity locked with pessimistic locking throws incorrect exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.0.1, 2.1.0
    • 2.1.0
    • None
    • None

    Description

      Attempting to call em.refresh(), using javax.persistence.lock.timeout value on a locked versioned entity results in a non-fatal OptimisticLockException. Instead, a non-fatal LockTimeoutException should be thrown by OpenJPA.

      Attachments

        Activity

          People

            techhusky Jeremy Bauer
            techhusky Jeremy Bauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: