Uses of Package
jakarta.persistence
Packages that use jakarta.persistence
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
Jakarta Persistence Criteria API
Jakarta Persistence Metamodel API
SPI for Jakarta Persistence providers
-
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 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.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.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.A reference to a named statement or query declared via theNamedQueryorNamedNativeQueryannotations, or usingStaticQueryorStaticNativeQuery.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.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.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.A reference to a typed named query declared via theNamedQueryorNamedNativeQueryannotations, or usingStaticQueryorStaticNativeQuery.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.Interface for extracting the elements of a query result tuple.The
TupleElementinterface defines an element that is returned in a query result tuple. -
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.queryClassDescriptionSpecifies how the
EntityManagerinteracts 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.Enumerates the kinds of optimistic or pessimistic lock which may be obtained on an entity instance.Controls how a pessimistic lock applied to an entity affects associated collections and relationships.A reference to a named statement or query declared via theNamedQueryorNamedNativeQueryannotations, or usingStaticQueryorStaticNativeQuery.A reference to an executable named statement for an operation that returns a row count.Specifies a timeout for a database request.A reference to a typed named query declared via theNamedQueryorNamedNativeQueryannotations, or usingStaticQueryorStaticNativeQuery. -
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.