Module jakarta.persistence
module jakarta.persistence
The Jakarta Persistence API, the standard for management
of persistence and object/relational mapping in Java(R)
environments.
jakarta.persistencedefines the core APIs, includingEntityManager,EntityAgent,EntityManagerFactory,Persistence, andPersistenceConfiguration. It also provides annotations for declaring entity types, their relationships, and their persistent attributes, and for mapping these program elements to the database.jakarta.persistence.criteriadefines the criteria query API.jakarta.persistence.sqldefines an API for mapping SQL result sets to Java objects.jakarta.persistence.querydefines an API for expressing statically type safe queries by annotating a query method.jakarta.persistence.metamodeldefines an API representing the managed classes of a persistence unit and allowing programatic reflection on this metamodel.jakarta.persistence.spidefines an SPI allowing integration of a persistence provider with the Jakarta environment.
This module provides standard interfaces. An implementation of Jakarta Persistence is called a persistence provider.
Jakarta Persistence fully supports usage within Java SE or Jakarta EE.
-
Packages
ExportsPackageDescriptionDefines the core APIs for the management for persistence and object/relational mapping.Defines the Jakarta Persistence Criteria Query API.Defines the Jakarta Persistence Metamodel API, allowing runtime reflection on the managed types declared by a persistence unit.Defines annotations for expressing statically type safe queries by annotating query methods of a discoverable type or Jakarta Data repository.Defines an SPI for integrating with the persistence provider and with the Jakarta EE platform.Defines an API for the programmatic definition of SQL result set mappings to Java classes.