Enum Class HibernateEnhancer.Option

java.lang.Object
java.lang.Enum<HibernateEnhancer.Option>
persist.hibernate.enhance.spi.HibernateEnhancer.Option
All Implemented Interfaces:
Serializable, Comparable<HibernateEnhancer.Option>, Constable
Enclosing interface:
HibernateEnhancer

public static enum HibernateEnhancer.Option extends Enum<HibernateEnhancer.Option>
Enhancement options that control which bytecode transformations are applied during entity enhancement.
  • Enum Constant Details

    • LAZY_INITIALIZATION

      public static final HibernateEnhancer.Option LAZY_INITIALIZATION
      Enable lazy-loading of persistent attributes.
    • DIRTY_TRACKING

      public static final HibernateEnhancer.Option DIRTY_TRACKING
      Enable inline dirty tracking to avoid snapshot comparisons.
    • ASSOCIATION_MANAGEMENT

      public static final HibernateEnhancer.Option ASSOCIATION_MANAGEMENT
      Enable automatic bi-directional association management.
    • EXTENDED_ENHANCEMENT

      public static final HibernateEnhancer.Option EXTENDED_ENHANCEMENT
      Enable extended enhancement beyond the standard JPA model.
  • Method Details

    • values

      public static HibernateEnhancer.Option[] 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

      public static HibernateEnhancer.Option valueOf(String name)
      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