diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java index ad30789be6..3a384c9342 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java @@ -112,12 +112,17 @@ import jakarta.persistence.SharedCacheMode; * Programs may directly use the APIs defined under {@link org.hibernate.boot}, * as an alternative to using an instance of this class. * + * @apiNote The {@link org.hibernate.jpa.HibernatePersistenceConfiguration} + * is a new alternative to this venerable API, and extends the JPA-standard + * {@link jakarta.persistence.PersistenceConfiguration}. + * * @author Gavin King * @author Steve Ebersole * * @see SessionFactory * @see AvailableSettings * @see org.hibernate.boot + * @see org.hibernate.jpa.HibernatePersistenceConfiguration */ public class Configuration { private static final CoreMessageLogger log = CoreLogging.messageLogger( Configuration.class ); diff --git a/hibernate-core/src/main/java/org/hibernate/jpa/HibernatePersistenceConfiguration.java b/hibernate-core/src/main/java/org/hibernate/jpa/HibernatePersistenceConfiguration.java index 1317162182..13ce41f00d 100644 --- a/hibernate-core/src/main/java/org/hibernate/jpa/HibernatePersistenceConfiguration.java +++ b/hibernate-core/src/main/java/org/hibernate/jpa/HibernatePersistenceConfiguration.java @@ -28,9 +28,12 @@ import jakarta.persistence.SharedCacheMode; import jakarta.persistence.ValidationMode; /** - * Hibernate extension to the Jakarta Persistence PersistenceConfiguration contract. + * Hibernate extension to the Jakarta Persistence {@link PersistenceConfiguration} + * contract. * * @author Steve Ebersole + * + * @since 7.0 */ public class HibernatePersistenceConfiguration extends PersistenceConfiguration { /**