Uses of Package
jakarta.persistence
Packages that use jakarta.persistence
Package
Description
Defines 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.
-
Classes in jakarta.persistence used by jakarta.persistenceClassDescriptionUsed with the
Accessannotation to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class.Interface implemented by custom attribute converters.Represents an attribute node of an entity graph.Interface used to interact with the second-level cache.Specifies how theEntityManagerinteracts with the second-level cache when data is read from the database via theEntityManager.find(Class, Object, Map)methods and execution of queries.Specifies how theEntityManagerinteracts with the second-level cache when data is read from the database and when data is written to the database.Defines the set of cascadable operations that are propagated to the associated entity.An executable action which makes use of a native database connection.A function which makes use of a native database connection to compute a result.Used to control the application of a constraint.Defines supported types of the discriminator column.Provides entity operations that are performed independently of a persistence context.An option controlling the creation of an entity agent.An option controlling the behavior of an entity agent.An entity graph is a template that captures the boundaries of an operation or query.Declares operations common toEntityManagerandEntityAgent.Represents the registration of an entity lifecycle event listener with theEntityManagerFactory.Interface used to interact with the persistence context.An option controlling the creation of an entity manager.An option controlling the behavior of an entity manager.Interface used to interact with the persistence unit, and to create new instances ofEntityManagerandEntityAgent.Interface used to control transactions involving resource-local entity managers and entity agents.Enumerates available options for mapping enumerated types.An option influencing how an attribute node belonging to an entity graph is fetched.Defines policies for fetching data from the database.An option influencing the behavior ofEntityHandler.find(Class, Object),EntityHandler.findMultiple(Class, List, FindOption...),EntityHandler.get(Class, Object), orEntityHandler.getMultiple(Class, List, FindOption...).Enumerates flush modes recognized by theEntityManager.Enumerates the defined primary key generation strategies.Declares operations common toEntityGraphandSubgraph, most importantly, operations for adding and removing attribute nodes and for creating subgraphs.Enumerates the options for mapping entity inheritance.Enumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.An option influencing the behavior ofEntityManager.lock(Object, LockModeType).Represents a parameter of a query.Specifies the mode of a parameter of a stored procedure query.Properties used to control the integration with CDI.Properties used to configure the second-level cache.Properties used to connect to the database via JDBC in Java SE.Properties used to specify the database platform when JDBC metadata is not available.Properties used to optimize the interaction with JDBC.Properties used to control the schema management tooling.Properties used to control the integration with Bean Validation.Represents a configuration of a persistence unit, allowing programmatic creation of anEntityManagerFactory.Specifies the lifecycle of a container-managed persistence context in a Jakarta EE container environment.Thrown by the persistence provider when a problem occurs.Enumerates the possible approaches to transaction management in Jakarta Persistence.Utility interface between the application and the persistence provider managing the persistence unit.Utility interface between the application and the persistence provider(s).Controls how a pessimistic lock applied to an entity affects associated collections and relationships.Declares common operations for controlling the execution of statements and queries written in the Jakarta Persistence query language or in native SQL.Enumerates the possible flush modes for execution of aQuery.A reference to a named statement or query declared via theNamedQueryorNamedNativeQueryannotations, or usingJakartaQueryorNativeQuery.An option influencing the behavior ofEntityManager.refresh(Object).Represents an action that can be performed by the schema management tooling.Allows programmatic schema creation, schema validation, data cleanup, and data loading, and schema cleanup for entities belonging to a certain persistence unit.Thrown when schema validation fails.Enumerates policies which control how the provider determines if an entity type is eligible for storage in the second-level cache.Interface used to control the execution of executable statements.An option influencing execution of a statement.Declares operations allowing aStatementorTypedQueryto be obtained when the type of a query or statement has not yet been specified.A reference to an executable named statement for an operation that returns a row count.Interface used to control execution of a stored procedure query.An option influencing execution of a stored procedure.This type represents a subgraph for an attribute node that corresponds to a managed type.Specifies whether the persistence context associated with anEntityManageris always automatically synchronized with the current transaction.Deprecated.Specifies a timeout for a database request.TheTupleElementinterface defines an element that is returned in a query result tuple.Interface used to control the execution of typed queries.An option influencing execution of a typed query.A reference to a typed named query declared via theNamedQueryorNamedNativeQueryannotations, or usingJakartaQueryorNativeQuery.The validation mode to be used by the provider for the persistence unit. -
Classes in jakarta.persistence used by jakarta.persistence.criteriaClassDescriptionInterface implemented by custom attribute converters.Represents a parameter of a query.A reference to an executable named statement for an operation that returns a row count.Interface for extracting the elements of a query result tuple.The
TupleElementinterface defines an element that is returned in a query result tuple.A reference to a typed named query declared via theNamedQueryorNamedNativeQueryannotations, or usingJakartaQueryorNativeQuery. -
Classes in jakarta.persistence used by jakarta.persistence.metamodelClassDescriptionAn entity graph is a template that captures the boundaries of an operation or query.
-
Classes in jakarta.persistence used by jakarta.persistence.queryClassDescriptionA reference to a named statement or query declared via the
NamedQueryorNamedNativeQueryannotations, or usingJakartaQueryorNativeQuery.An option influencing execution of a statement.A reference to an executable named statement for an operation that returns a row count.An option influencing execution of a typed query.A reference to a typed named query declared via theNamedQueryorNamedNativeQueryannotations, or usingJakartaQueryorNativeQuery. -
Classes in jakarta.persistence used by jakarta.persistence.spiClassDescriptionInterface used to interact with the persistence unit, and to create new instances of
EntityManagerandEntityAgent.Defines policies for fetching data from the database.Represents a configuration of a persistence unit, allowing programmatic creation of anEntityManagerFactory.Enumerates the possible approaches to transaction management in Jakarta Persistence.Enumerates policies which control how the provider determines if an entity type is eligible for storage in the second-level cache.The validation mode to be used by the provider for the persistence unit. -
Classes in jakarta.persistence used by jakarta.persistence.sqlClassDescriptionEnumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.Interface for extracting the elements of a query result tuple.The
TupleElementinterface defines an element that is returned in a query result tuple.
java.time.