Annotation Interface OracleTransactional
@Documented
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,METHOD,TYPE})
public @interface OracleTransactional
Oracle-specific transactional annotation that applies Oracle transaction priority.
- Since:
- 5.0
- Author:
- radovanradic
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPriority level for Oracle priority transactions. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTransaction definition property used to store Oracle transaction priority. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe transaction isolation level.The optional name of the transaction.Defines the exceptions that will not result in a rollback.The desired transaction priority level for Oracle priority transactions.The transaction propagation type.booleantrueif the transaction is read-only.Defines the exceptions that will result in a rollback.intThe timeout for this transaction.A qualifier value for the specified transaction.Alias fortransactionManager().
-
Field Details
-
ORACLE_PRIORITY
Transaction definition property used to store Oracle transaction priority.- See Also:
-
-
Element Details
-
value
-
transactionManager
A qualifier value for the specified transaction.- Returns:
- The transaction manager
- See Also:
- Default:
""
-
propagation
@AliasFor(annotation=Transactional.class, member="propagation") TransactionDefinition.Propagation propagationThe transaction propagation type.- Returns:
- The propagation
- Default:
REQUIRED
-
isolation
@AliasFor(annotation=Transactional.class, member="isolation") TransactionDefinition.Isolation isolationThe transaction isolation level.- Returns:
- The isolation level
- Default:
DEFAULT
-
timeout
The timeout for this transaction.- Returns:
- The timeout
- Default:
-1
-
readOnly
trueif the transaction is read-only.- Returns:
- Whether is read-only transaction
- Default:
false
-
rollbackFor
@AliasFor(annotation=Transactional.class, member="rollbackFor") Class<? extends Throwable>[] rollbackForDefines the exceptions that will result in a rollback.- Returns:
- The exception types that will result in a rollback.
- Default:
{}
-
noRollbackFor
@AliasFor(annotation=Transactional.class, member="noRollbackFor") Class<? extends Throwable>[] noRollbackForDefines the exceptions that will not result in a rollback.- Returns:
- The exception types that will not result in a rollback.
- Default:
{}
-
name
The optional name of the transaction.- Returns:
- The transaction name
- Default:
""
-
priority
OracleTransactional.Priority priorityThe desired transaction priority level for Oracle priority transactions.- Returns:
- The priority level
- Default:
HIGH
-