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
Sessionless transaction mode for Oracle JDBC transactions.
- Since:
- 5.2.0
- Author:
- radovanradic
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDo not apply Oracle sessionless transaction semantics.Resume an Oracle sessionless transaction from the current propagation context and complete it when the transactional boundary completes.Start an Oracle sessionless transaction and suspend it instead of committing when the transactional boundary completes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OracleTransactional.Sessionless[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Do not apply Oracle sessionless transaction semantics. -
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
Resume an Oracle sessionless transaction from the current propagation context and complete it when the transactional boundary completes.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-