Package org.hibernate.metamodel.internal
Enum Class JpaStaticMetamodelPopulationSetting
java.lang.Object
java.lang.Enum<JpaStaticMetamodelPopulationSetting>
org.hibernate.metamodel.internal.JpaStaticMetamodelPopulationSetting
- All Implemented Interfaces:
Serializable
,Comparable<JpaStaticMetamodelPopulationSetting>
,Constable
Enumerated setting used to control whether Hibernate looks for and populates
JPA static metamodel models of application's domain model.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that Hibernate will not look for the JPA static metamodel description of the application domain model.Indicates that Hibernate will look for the JPA static metamodel description of the application domain model and populate it.Works asENABLED
but ignores any non-JPA features that would otherwise result in the population failing. -
Method Summary
Modifier and TypeMethodDescriptiondetermineJpaStaticMetaModelPopulationSetting
(Map configurationValues) Returns the enum constant of this class with the specified name.static JpaStaticMetamodelPopulationSetting[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLED
Indicates that Hibernate will look for the JPA static metamodel description of the application domain model and populate it. -
DISABLED
Indicates that Hibernate will not look for the JPA static metamodel description of the application domain model. -
SKIP_UNSUPPORTED
Works asENABLED
but ignores any non-JPA features that would otherwise result in the population failing.
-
-
Method Details
-
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
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
-
parse
-
determineJpaStaticMetaModelPopulationSetting
public static JpaStaticMetamodelPopulationSetting determineJpaStaticMetaModelPopulationSetting(Map configurationValues)
-