Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-44

Rollback should not swallow Exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2-incubating
    • None
    • None

    Description

      If an Exception occurs in a batch, the PersitenceManager will rollback the currently active transaction.

      The problem arises if the Exception was caused by a database problem which implicitly did already close the Connection to the database. In this case the rollback itself will fail and cause an Exception as well. This causes us to only show the Exception caused by the rollback but miss the actually important real cause of the problem - the original Exception

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: