Enum Class TempTableDdlTransactionHandling

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

@Deprecated(since="7.0") public enum TempTableDdlTransactionHandling extends Enum<TempTableDdlTransactionHandling>
Deprecated.
All dialects currently use NONE, so it's obsolete.
Enum describing how creation and dropping of temporary tables should be done in terms of transaction handling.
See Also:
  • Enum Constant Details

    • NONE

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

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

      public static final TempTableDdlTransactionHandling ISOLATE_AND_TRANSACT
      Deprecated.
      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()
      Deprecated.
      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)
      Deprecated.
      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