Package io.quarkus.narayana.jta.runtime
Annotation Type TransactionConfiguration
-
@Inherited @Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface TransactionConfiguration
This annotation can be used to configure a different transaction timeout than the default one for a method or a class.When defined on a method, it needs to be used on the entry method of the transaction.
If defined on a class, it is equivalent to defining it on all the methods of the class marked with
@Transactional. The configuration defined on a method takes precedence over the configuration defined on a class.
-
-
Field Summary
Fields Modifier and Type Fields Description static intUNSET_TIMEOUTThis value is used to specify that no transaction timeout is configured.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description inttimeoutThe transaction timeout in seconds.
-