Uploaded image for project: 'Hibernate ORM'
  1. HHH-8254

throw HibernateException when transaction is rolledback by a reaper thread

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 4.2.2, 4.3.0.Beta3
    • Components: None
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      HHH-7910 Closed handled a background (repear) thread rolling back a transaction by setting a flag. The original app thread checks the flag and processes the rollback, rather than the background thread itself. The checks occur at Session API calls' entries and exits.

      To prevent Session methods from continuing processing (and ultimately causing NPEs, etc.), throw an NPE when a delayed rollback is found and processed.

        Attachments

          Activity

            People

            • Assignee:
              brmeyer Brett Meyer
              Reporter:
              brmeyer Brett Meyer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: