diff --git a/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc b/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc index dcf3ac10d5..76b7473942 100644 --- a/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc +++ b/documentation/src/main/asciidoc/userguide/appendices/Configurations.adoc @@ -1152,15 +1152,6 @@ XML configuration file to use to configure Hibernate. If true, the persistence context will be discarded (think `clear()` when the method is called). Otherwise, the persistence context will stay alive till the transaction completion: all objects will remain managed, and any change will be synchronized with the database (default to false, ie wait for transaction completion). -`*hibernate.ejb.metamodel.population*` (e.g. `enabled` or `disabled`, or `ignoreUnsupported` (default value)):: -Setting that indicates whether to build the Jakarta Persistence types. -+ -Accepts three values: -+ -enabled::: Do the build. -disabled::: Do not do the build. -ignoreUnsupported::: Do the build, but ignore any non-Jakarta Persistence features that would otherwise result in a failure (e.g. `@Any` annotation). - `*hibernate.jpa.static_metamodel.population*` (e.g. `enabled` or `disabled`, or `skipUnsupported` (default value)):: Setting that controls whether we seek out Jakarta Persistence _static metamodel_ classes and populate them. + diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java b/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java index 27044847ee..3534d2a4c7 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java @@ -269,32 +269,6 @@ public interface AvailableSettings { @Deprecated String ENVIRONMENT_CLASSLOADER = "hibernate.classLoader.environment"; - /** - * @deprecated use {@link #JPA_METAMODEL_POPULATION} instead. - */ - @Deprecated - String JPA_METAMODEL_GENERATION = "hibernate.ejb.metamodel.generation"; - - /** - * Setting that indicates whether to build the JPA types. Accepts - * 3 values: - * - * - */ - @Deprecated - String JPA_METAMODEL_POPULATION = "hibernate.ejb.metamodel.population"; - /** * Setting that controls whether we seek out JPA "static metamodel" classes and populate them. Accepts * 3 values: