Package org.hibernate.annotations
Enum Class FlushModeType
- All Implemented Interfaces:
Serializable
,Comparable<FlushModeType>
,Constable
Deprecated.
Enumeration extending the JPA flush modes
with flush modes specific to Hibernate, and a "null" mode,
PERSISTENCE_CONTEXT
,
for use as a default annotation value. Except for the null value, this enumeration is
isomorphic to FlushMode
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Corresponds toFlushMode.ALWAYS
.Deprecated.Corresponds toFlushMode.AUTO
.Deprecated.Corresponds toFlushMode.COMMIT
.Deprecated.Corresponds toFlushMode.MANUAL
.Deprecated.Current flush mode of the persistence context at the time the query is executed. -
Method Summary
Modifier and TypeMethodDescriptionstatic FlushModeType
Deprecated.Returns the enum constant of this class with the specified name.static FlushModeType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Deprecated.Corresponds toFlushMode.ALWAYS
. -
AUTO
Deprecated.Corresponds toFlushMode.AUTO
. -
COMMIT
Deprecated.Corresponds toFlushMode.COMMIT
. -
MANUAL
Deprecated.Corresponds toFlushMode.MANUAL
. -
PERSISTENCE_CONTEXT
Deprecated.Current flush mode of the persistence context at the time the query is executed.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
QueryFlushMode