Uploaded image for project: 'Crowd'
  1. Crowd
  2. CWD-4740

Clarify the interaction of events and database transactions

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: