Enum Class JpaStaticMetamodelPopulationSetting

java.lang.Object
java.lang.Enum<JpaStaticMetamodelPopulationSetting>
org.hibernate.metamodel.internal.JpaStaticMetamodelPopulationSetting
All Implemented Interfaces:
Serializable, Comparable<JpaStaticMetamodelPopulationSetting>, Constable

public enum JpaStaticMetamodelPopulationSetting extends Enum<JpaStaticMetamodelPopulationSetting>
Enumerated setting used to control whether Hibernate looks for and populates JPA static metamodel models of application's domain model.
  • Enum Constant Details

    • ENABLED

      public static final JpaStaticMetamodelPopulationSetting ENABLED
      Indicates that Hibernate will look for the JPA static metamodel description of the application domain model and populate it.
    • DISABLED

      public static final JpaStaticMetamodelPopulationSetting DISABLED
      Indicates that Hibernate will not look for the JPA static metamodel description of the application domain model.
    • SKIP_UNSUPPORTED

      public static final JpaStaticMetamodelPopulationSetting SKIP_UNSUPPORTED
      Works as ENABLED but ignores any non-JPA features that would otherwise result in the population failing.
  • Method Details

    • values

      public static JpaStaticMetamodelPopulationSetting[] 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 JpaStaticMetamodelPopulationSetting 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
    • parse

      public static JpaStaticMetamodelPopulationSetting parse(String setting)
    • determineJpaStaticMetaModelPopulationSetting

      public static JpaStaticMetamodelPopulationSetting determineJpaStaticMetaModelPopulationSetting(Map configurationValues)