Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-557

Rollback not processed correctly on optimistic locking exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2 branch
    • 1.2 branch
    • Core Library
    • None

    Description

      When a valid OptimisticLockException is thrown, an attempt to rollback current transaction incorrectly throws its own IllegalStateException... What's worse, the later exception is swallowed by Cayenne, so the rollback is never processed. Oddly, the only database that had problems with it was OpenBase - that's how I discovered it. I'll be checking the fix shortly.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: