Steps to Reproduce: |
* Create a transactional observer for event A * Fire event A from a JPA post persist lifecycle listener for entity B * Register an instance of B within the persistence context within a transactional method * Invoke the method, so that the persistence context is flushed and B is persisted with committing the transaction * Observe that the AFTER_SUCCESS observer is not invoked, but the AFTER_FAILURE observer is, but that the transaction did COMMIT and not ROLLBACK. |