Enum Class CommitOutcome
- All Implemented Interfaces:
Serializable, Comparable<CommitOutcome>, Constable
Commit outcome reported by a database recovery facility.
- Since:
- 5.2
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe transaction committed successfully and the user call completed.The transaction committed successfully, but Oracle reports that the user call did not complete.The transaction did not commit.The outcome could not be determined. -
Method Summary
Modifier and TypeMethodDescriptionstatic CommitOutcomeReturns the enum constant of this class with the specified name.static CommitOutcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMMITTED
The transaction committed successfully and the user call completed. -
COMMITTED_CALL_INCOMPLETE
The transaction committed successfully, but Oracle reports that the user call did not complete. -
NOT_COMMITTED
The transaction did not commit. -
UNKNOWN
The outcome could not be determined.
-
-
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
-