|
26 | 26 | * <p>
|
27 | 27 | * Thus, Hibernate's many powerful extensions to the JPA specification are
|
28 | 28 | * always readily accessible.
|
| 29 | + * <p> |
| 30 | + * The class {@link org.hibernate.jpa.HibernatePersistenceConfiguration} |
| 31 | + * extends {@link jakarta.persistence.PersistenceConfiguration} with options |
| 32 | + * specific to Hibernate, as explicitly encouraged by the specification, and |
| 33 | + * is now the preferred way to start Hibernate when operating outside any |
| 34 | + * container environment. |
| 35 | + * <p> |
| 36 | + * Subpackages define a range of SPIs. |
29 | 37 | * <ul>
|
30 | 38 | * <li>The subpackage {@link org.hibernate.jpa.boot.spi} contains the SPI of
|
31 | 39 | * this persistence provider, including an SPI used to
|
32 | 40 | * {@linkplain org.hibernate.jpa.boot.spi.Bootstrap bootstrap} the JPA
|
33 | 41 | * provider, and interfaces which may be implemented to contribute extensions
|
34 | 42 | * during of the bootstrap process.
|
35 | 43 | * <li>The package {@link org.hibernate.jpa.event.spi org.hibernate.jpa.event}
|
36 |
| - * implements support for JPA {@linkplain jakarta.persistence.EntityListeners |
37 |
| - * event listeners}. |
38 |
| - * <li>The package {@link org.hibernate.jpa.spi} provides SPIs for managing cases |
| 44 | + * implements support for JPA entity lifecycle callback methods and |
| 45 | + * {@linkplain jakarta.persistence.EntityListeners entity listeners}. |
| 46 | + * <li>The package {@link org.hibernate.jpa.spi} provides |
| 47 | + * {@linkplain org.hibernate.jpa.spi.JpaCompliance an SPI} for managing cases |
39 | 48 | * where Hibernate intentionally violates the JPA specification by default
|
40 | 49 | * (something Hibernate only does when it has a really good reason to do so).
|
41 | 50 | * </ul>
|
|
0 commit comments