Enum Class ExistenceCheckPlacement

java.lang.Object
java.lang.Enum<ExistenceCheckPlacement>
org.hibernate.dialect.schema.spi.ExistenceCheckPlacement
All Implemented Interfaces:
Serializable, Comparable<ExistenceCheckPlacement>, Constable

@SPI(USE) public enum ExistenceCheckPlacement extends Enum<ExistenceCheckPlacement>
Identifies where an existence check occurs relative to a DDL target name.
Since:
8.0
  • Enum Constant Details

    • NONE

      public static final ExistenceCheckPlacement NONE
      The DDL command has no existence check.
    • BEFORE_NAME

      public static final ExistenceCheckPlacement BEFORE_NAME
      The existence check immediately precedes the target name.
    • AFTER_NAME

      public static final ExistenceCheckPlacement AFTER_NAME
      The existence check immediately follows the target name.
  • Method Details

    • values

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