@Inherited @Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface TransactionConfiguration
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.
| Modifier and Type | Fields and Description |
|---|---|
static int |
UNSET_TIMEOUT
This value is used to specify that no transaction timeout is configured.
|
| Modifier and Type | Optional Element and Description |
|---|---|
int |
timeout
The transaction timeout in seconds.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.