public enum JpaStaticMetaModelPopulationSetting extends Enum<JpaStaticMetaModelPopulationSetting>
Enum Constant and Description |
---|
DISABLED
DISABLED indicates that Hibernate will not look for the JPA static metamodel description
of the application domain model.
|
ENABLED
ENABLED indicates that Hibernate will look for the JPA static metamodel description
of the application domain model and populate it.
|
SKIP_UNSUPPORTED
SKIP_UNSUPPORTED works as ENABLED but ignores any non-JPA features that would otherwise
result in the population failing.
|
Modifier and Type | Method and Description |
---|---|
static JpaStaticMetaModelPopulationSetting |
determineJpaMetaModelPopulationSetting(Map configurationValues) |
static JpaStaticMetaModelPopulationSetting |
parse(String setting) |
static JpaStaticMetaModelPopulationSetting |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JpaStaticMetaModelPopulationSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JpaStaticMetaModelPopulationSetting ENABLED
public static final JpaStaticMetaModelPopulationSetting DISABLED
public static final JpaStaticMetaModelPopulationSetting SKIP_UNSUPPORTED
public static JpaStaticMetaModelPopulationSetting[] values()
for (JpaStaticMetaModelPopulationSetting c : JpaStaticMetaModelPopulationSetting.values()) System.out.println(c);
public static JpaStaticMetaModelPopulationSetting valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static JpaStaticMetaModelPopulationSetting parse(String setting)
public static JpaStaticMetaModelPopulationSetting determineJpaMetaModelPopulationSetting(Map configurationValues)
Copyright © 2019 JBoss by Red Hat. All rights reserved.