Package persist.hibernate.enhance.spi
package persist.hibernate.enhance.spi
SPI for Hibernate bytecode enhancement of JPA entity classes.
This package defines the abstractions used to perform build-time bytecode enhancement on compiled JPA entity classes. The enhancement adds Hibernate-specific instrumentation such as lazy-loading proxies, inline dirty tracking, bi-directional association management, and extended enhancement — eliminating the need for runtime bytecode manipulation.
HibernateEnhancer– core interface for enhancing entity class bytes, along with helper methods and theOptionenum controlling which transformations are applied.HibernateEnhancerProvider– service-provider interface for obtaining a namespace-specificHibernateEnhancer, discovered viaServiceLoader.
Provider implementations for specific JPA namespaces are shipped in
separate modules (e.g. persistence-tools-jakarta and
persistence-tools-legacy).
- Since:
- 1.0.0
- See Also:
-
ClassDescriptionSPI for Hibernate bytecode enhancement of JPA entity classes.Enhancement options that control which bytecode transformations are applied during entity enhancement.Service-provider interface for obtaining a namespace-specific
HibernateEnhancer.