Replies: 1 comment
-
Hi @flynndi, Can you explain more details? What is your codes looks like? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
I previously asked this question on Stack Overflow, and someone told me that it can only be achieved through an interceptor. I’m wondering if anyone knows of any other possible solutions.
Beta Was this translation helpful? Give feedback.
All reactions