Some javadoc about HibernatePersistenceConfiguration

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-10-22 21:21:14 +02:00
parent b7dc7292ca
commit 6c227ed304
2 changed files with 9 additions and 1 deletions

View File

@ -112,12 +112,17 @@ import jakarta.persistence.SharedCacheMode;
* Programs may directly use the APIs defined under {@link org.hibernate.boot}, * Programs may directly use the APIs defined under {@link org.hibernate.boot},
* as an alternative to using an instance of this class. * 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 Gavin King
* @author Steve Ebersole * @author Steve Ebersole
* *
* @see SessionFactory * @see SessionFactory
* @see AvailableSettings * @see AvailableSettings
* @see org.hibernate.boot * @see org.hibernate.boot
* @see org.hibernate.jpa.HibernatePersistenceConfiguration
*/ */
public class Configuration { public class Configuration {
private static final CoreMessageLogger log = CoreLogging.messageLogger( Configuration.class ); private static final CoreMessageLogger log = CoreLogging.messageLogger( Configuration.class );

View File

@ -28,9 +28,12 @@ import jakarta.persistence.SharedCacheMode;
import jakarta.persistence.ValidationMode; import jakarta.persistence.ValidationMode;
/** /**
* Hibernate extension to the Jakarta Persistence PersistenceConfiguration contract. * Hibernate extension to the Jakarta Persistence {@link PersistenceConfiguration}
* contract.
* *
* @author Steve Ebersole * @author Steve Ebersole
*
* @since 7.0
*/ */
public class HibernatePersistenceConfiguration extends PersistenceConfiguration { public class HibernatePersistenceConfiguration extends PersistenceConfiguration {
/** /**