Enum Class MultiTableMutationStrategyKind
java.lang.Object
java.lang.Enum<MultiTableMutationStrategyKind>
org.hibernate.dialect.mutation.spi.MultiTableMutationStrategyKind
- All Implemented Interfaces:
Serializable, Comparable<MultiTableMutationStrategyKind>, Constable
Selects the Hibernate-owned fallback family used for an SQM mutation of a multi-table entity.
A custom Dialect should select a kind through
MultiTableMutationSupport. The kind chooses Hibernate's stock strategy
construction; it does not advertise general native mutation support and
does not replace the query-engine integration for custom execution
strategies.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse a modifiable common-table-expression strategy.Use a schema-defined global temporary table.Use a connection-scoped local temporary table.Use a persistent table whose rows are isolated by session identifier. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MultiTableMutationStrategyKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CTE
Use a modifiable common-table-expression strategy. -
LOCAL_TEMPORARY_TABLE
Use a connection-scoped local temporary table. -
GLOBAL_TEMPORARY_TABLE
Use a schema-defined global temporary table. -
PERSISTENT_TABLE
Use a persistent table whose rows are isolated by session identifier.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-