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

[PATCH] On OptimisticLockException, add method to return the object that caused the failure

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1B1
    • 3.1B1
    • Core Library
    • Mac 10.6

    Description

      This patch adds a method to OptimisticLockException that returns the object the was the cause of the locking failure. This is useful if you want to resolve the error automatically somehow. A test case is also included.

      Attachments

        Activity

          People

            Unassigned Unassigned
            johnthuss John Huss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified