Package jakarta.persistence.spi
package jakarta.persistence.spi
Defines an SPI for integrating with the persistence provider
and with the Jakarta EE platform.
PersistenceProvidermust be implemented by every persistence provider.ClassTransformerallows the persistence provider to peform its own custom bytecode processing in a Jakarta EE environment.PersistenceUnitInfocarries information about a persistence unit under the management of the Jakarta EE container.- The
Discoverablemeta-annotation identifies annotation types which trigger automatic discovery of classes by the Jakarta EE container.
-
ClassDescriptionA persistence provider supplies an instance of this interface to the
PersistenceUnitInfo.addTransformer(ClassTransformer)method.Specifies that the meta-annotated annotation type identifies classes which are automatically discovered by the Jakarta EE container and passed on to the persistence provider viaPersistenceUnitInfo.getAllClassNames().Load states returned by theProviderUtilSPI methods.Interface implemented by the persistence provider.Provides a list of persistence providers available in the runtime environment.Holds the globalPersistenceProviderResolverinstance.Interface implemented by the container and used by the persistence provider when creating anEntityManagerFactory.Utility interface implemented by the persistence provider.Thrown by the persistence provider when a problem during class re-definition occurs.