Enum Class TempTableDdlTransactionHandling

java.lang.Object
java.lang.Enum<TempTableDdlTransactionHandling>
org.hibernate.boot.TempTableDdlTransactionHandling
All Implemented Interfaces:
Serializable, Comparable<TempTableDdlTransactionHandling>, java.lang.constant.Constable

public enum TempTableDdlTransactionHandling extends Enum<TempTableDdlTransactionHandling>
Enum describing how creation and dropping of temporary tables should be done in terms of transaction handling.
  • Enum Constant Details

    • NONE

      public static final TempTableDdlTransactionHandling NONE
      No handling of transactions is needed
    • ISOLATE

      public static final TempTableDdlTransactionHandling ISOLATE
      Execution of the DDL must be isolated from any ongoing transaction
    • ISOLATE_AND_TRANSACT

      public static final TempTableDdlTransactionHandling ISOLATE_AND_TRANSACT
      As with ISOLATE the execution of the DDL must be isolated from any ongoing transaction. However, here the "isolation" will also be transacted. Some databases require that the DDL happen within a transaction. This value covers such cases.
  • Method Details

    • values

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