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

Failed transactions must generate more focussed (and accurate) message for the cause

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: kernel
    • Labels:
      None

      Description

      OptimisticException is overused as a generic cause of many kinds of failure during a commit or flush (which at times are not directly related to a optimistic concurrency violation per se).
      Given that the error message is often the first handle to analyze a fault, we should
      a) analyze all places that raise OptimisticLockexception
      b) attempt to narrow the exception or at least provide a differentiated message for the cause to the user

        Attachments

          Activity

            People

            • Assignee:
              ppoddar@apache.org Pinaki Poddar
              Reporter:
              ppoddar@apache.org Pinaki Poddar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: