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

Refresh of versioned entity locked with pessimistic locking throws incorrect exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: