Clarify the interaction of events and database transactions

XMLWordPrintable

      Currently event handlers that interact with transactions and Hibernate entities might run into some issues:

      • the transaction might not be committed until all handling for the event is done
      • in some cases, the entire transaction might be rolled back, even after the event handler completed successfully
      • some events contain references to Hibernate entities, which is troublesome as events might be shared between threads, and these entities might be attached to a closed session

            Assignee:
            Lukasz Pater
            Reporter:
            Lukasz Pater
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: