Enum Class FlushModeType

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

@Deprecated(since="7") public enum FlushModeType extends Enum<FlushModeType>
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.
See Also:
  • Enum Constant Details

  • Method Details

    • values

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