Enum Class LockClause.Position

java.lang.Object
java.lang.Enum<LockClause.Position>
org.springframework.data.relational.core.dialect.LockClause.Position
All Implemented Interfaces:
Serializable, Comparable<LockClause.Position>, Constable
Enclosing interface:
LockClause

public static enum LockClause.Position extends Enum<LockClause.Position>
Enumeration of where to render the clause within the SQL statement.
  • Enum Constant Details

    • AFTER_FROM_TABLE

      public static final LockClause.Position AFTER_FROM_TABLE
      Append the clause after from table.
    • AFTER_ORDER_BY

      public static final LockClause.Position AFTER_ORDER_BY
      Append the clause at the end of the statement.
  • Method Details

    • values

      public static LockClause.Position[] 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 LockClause.Position 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