Enum Class QueryFlushMode
- All Implemented Interfaces:
Serializable, Comparable<QueryFlushMode>, Constable
Deprecated, for removal: This API element is subject to removal in a future version.
Enumerates the possible flush modes for execution of a
Query. An explicitly-specified
query-level flush mode overrides the current
flush mode of the session.- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Flush before executing the query.Deprecated, for removal: This API element is subject to removal in a future version.Do not flush before executing the query. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryFlushModeDeprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static QueryFlushMode[]values()Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLUSH
Deprecated, for removal: This API element is subject to removal in a future version.Flush before executing the query. -
NO_FLUSH
Deprecated, for removal: This API element is subject to removal in a future version.Do not flush before executing the query. -
DEFAULT
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
jakarta.persistence.QueryFlushModewith the same name, values and intent as this one.