Spring: How to rollback in a @TransactionalEventListener of phase BEFORE_COMMIT
In Spring Boot 3.x I have transactional-event-listeners. One is bound to phase “BEFORE_COMMIT” and responsible for doing some “last millisecond checks” before the transaction finally commits towards the database: