-
Suggestion
-
Resolution: Done
-
None
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