Reputation: 11
I’m developing an extension that involves some transaction-related interfaces that need to be adapted.
Is there any way in Quarkus to directly obtain the value from the current transaction, as specified in the annotation like this:
@Transactional(rollbackOn = Exception.class, value = Transactional.TxType.REQUIRED)
I specifically need to get the value (i.e., the TxType) defined in the annotation within the context of the current transaction. Is there any API or method in Quarkus that allows me to achieve this?
Upvotes: 0
Views: 42