Enum Class DialectContract

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

@Incubating(since="8.0", group="dialect-testkit") @SPI(USE) public enum DialectContract extends Enum<DialectContract>

A database-free behavior exercised by the Dialect contract test kit.

Required contracts must be applicable to every profile. Optional contracts may be marked inapplicable by DialectContractProfile.applicability(DialectContract).

Since:
8.0
  • Enum Constant Details

    • BOOTSTRAP

      public static final DialectContract BOOTSTRAP
    • BASIC_QUERY_TRANSLATION

      public static final DialectContract BASIC_QUERY_TRANSLATION
    • IDENTIFIER_AND_LITERAL_RENDERING

      public static final DialectContract IDENTIFIER_AND_LITERAL_RENDERING
    • PARAMETER_MARKER_ORDER

      public static final DialectContract PARAMETER_MARKER_ORDER
    • TABLELESS_AND_SYNTHETIC_ROOTS

      public static final DialectContract TABLELESS_AND_SYNTHETIC_ROOTS
    • FETCH_AND_PAGINATION

      public static final DialectContract FETCH_AND_PAGINATION
    • LOCKING

      public static final DialectContract LOCKING
    • SCHEMA_DDL

      public static final DialectContract SCHEMA_DDL
    • TEMPORARY_TABLES

      public static final DialectContract TEMPORARY_TABLES
    • MULTI_TABLE_MUTATION

      public static final DialectContract MULTI_TABLE_MUTATION
  • Method Details

    • values

      public static DialectContract[] 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 DialectContract 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
    • isRequired

      public boolean isRequired()
      Whether every profile must exercise this contract.