Enum Class IsolationLevel

java.lang.Object
java.lang.Enum<IsolationLevel>
com.landawn.abacus.jdbc.IsolationLevel
All Implemented Interfaces:
Serializable, Comparable<IsolationLevel>, Constable

public enum IsolationLevel extends Enum<IsolationLevel>
The Enum IsolationLevel.
Since:
0.8
Author:
Haiyang Li
See Also:
  • Enum Constant Details

    • DEFAULT

      public static final IsolationLevel DEFAULT
      Field DEFAULT. No Connection.setTransactionIsolation(...) will be called to set transaction isolation level.
    • NONE

      public static final IsolationLevel NONE
      Deprecated.
      Field NONE.
    • READ_UNCOMMITTED

      public static final IsolationLevel READ_UNCOMMITTED
      Field READ_UNCOMMITTED.
    • READ_COMMITTED

      public static final IsolationLevel READ_COMMITTED
      Field READ_COMMITTED.
    • REPEATABLE_READ

      public static final IsolationLevel REPEATABLE_READ
      Field REPEATABLE_READ.
    • SERIALIZABLE

      public static final IsolationLevel SERIALIZABLE
      Field SERIALIZABLE.
  • Method Details

    • values

      public static IsolationLevel[] 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 IsolationLevel 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
    • intValue

      public int intValue()
      Returns:
      int
    • valueOf

      public static IsolationLevel valueOf(int intValue)
      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:
      intValue - 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