Enum Class OracleTransactional.Sessionless

java.lang.Object
java.lang.Enum<OracleTransactional.Sessionless>
io.micronaut.transaction.annotation.OracleTransactional.Sessionless
All Implemented Interfaces:
Serializable, Comparable<OracleTransactional.Sessionless>, Constable
Enclosing class:
OracleTransactional

public static enum OracleTransactional.Sessionless extends Enum<OracleTransactional.Sessionless>
Sessionless transaction mode for Oracle JDBC transactions.
Since:
5.2.0
Author:
radovanradic
  • Enum Constant Details

    • NONE

      public static final OracleTransactional.Sessionless NONE
      Do not apply Oracle sessionless transaction semantics.
    • SUSPEND

      public static final OracleTransactional.Sessionless SUSPEND
      Start an Oracle sessionless transaction and suspend it instead of committing when the transactional boundary completes.

      The OracleTransactional.timeout() value is passed to Oracle when the sessionless transaction is started.

    • REQUIRES_SUSPENDED

      public static final OracleTransactional.Sessionless REQUIRES_SUSPENDED
      Resume an Oracle sessionless transaction from the current propagation context and complete it when the transactional boundary completes.
  • Method Details

    • values

      public static OracleTransactional.Sessionless[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OracleTransactional.Sessionless valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null