I would like do some job in an entityListener after the transaction commit.
I’ve tried to follow the 2 ideas proposed in this thread , but can’t manage to make them work in axelor.
any idea ?
I would like do some job in an entityListener after the transaction commit.
I’ve tried to follow the 2 ideas proposed in this thread , but can’t manage to make them work in axelor.
any idea ?
found a solution , you can do something like that
JPA.em().unwrap(SharedSessionContractImplementor.class).getTransactionCoordinator().addObserver