Enum Class CommitOutcome

java.lang.Object
java.lang.Enum<CommitOutcome>
io.micronaut.transaction.recovery.CommitOutcome
All Implemented Interfaces:
Serializable, Comparable<CommitOutcome>, Constable

@Internal public enum CommitOutcome extends Enum<CommitOutcome>
Commit outcome reported by a database recovery facility.
Since:
5.2
  • Enum Constant Details

    • COMMITTED

      public static final CommitOutcome COMMITTED
      The transaction committed successfully and the user call completed.
    • COMMITTED_CALL_INCOMPLETE

      public static final CommitOutcome COMMITTED_CALL_INCOMPLETE
      The transaction committed successfully, but Oracle reports that the user call did not complete.
    • NOT_COMMITTED

      public static final CommitOutcome NOT_COMMITTED
      The transaction did not commit.
    • UNKNOWN

      public static final CommitOutcome UNKNOWN
      The outcome could not be determined.
  • Method Details

    • values

      public static CommitOutcome[] 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 CommitOutcome 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