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
  • Field Details

    • ORACLE_PRIORITY

      static final String ORACLE_PRIORITY
      Transaction definition property used to store Oracle transaction priority.
      See Also:
  • Element Details

    • value

      @AliasFor(annotation=Transactional.class, member="value") String value
      Returns:
      The transaction manager
      See Also:
      Default:
      ""
    • transactionManager

      @AliasFor(annotation=Transactional.class, member="value") String transactionManager
      A qualifier value for the specified transaction.
      Returns:
      The transaction manager
      See Also:
      Default:
      ""
    • propagation

      @AliasFor(annotation=Transactional.class, member="propagation") TransactionDefinition.Propagation propagation
      The transaction propagation type.
      Returns:
      The propagation
      Default:
      REQUIRED
    • isolation

      @AliasFor(annotation=Transactional.class, member="isolation") TransactionDefinition.Isolation isolation
      The transaction isolation level.
      Returns:
      The isolation level
      Default:
      DEFAULT
    • timeout

      @AliasFor(annotation=Transactional.class, member="timeout") int timeout
      The timeout for this transaction.
      Returns:
      The timeout
      Default:
      -1
    • readOnly

      @AliasFor(annotation=Transactional.class, member="readOnly") boolean readOnly
      true if the transaction is read-only.
      Returns:
      Whether is read-only transaction
      Default:
      false
    • rollbackFor

      @AliasFor(annotation=Transactional.class, member="rollbackFor") Class<? extends Throwable>[] rollbackFor
      Defines 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>[] noRollbackFor
      Defines the exceptions that will not result in a rollback.
      Returns:
      The exception types that will not result in a rollback.
      Default:
      {}
    • name

      @AliasFor(annotation=Transactional.class, member="name") String name
      The optional name of the transaction.
      Returns:
      The transaction name
      Default:
      ""
    • priority

      The desired transaction priority level for Oracle priority transactions.
      Returns:
      The priority level
      Default:
      HIGH