All Classes and Interfaces

Class
Description
Used to override a mapping for an entity relationship.
Used to override mappings of multiple relationship properties or fields.
A class that implements this interface can be used to convert entity attribute state into database column representation and back again.
Used to override the mapping of a Basic (whether explicit or default) property or field or Id property or field.
Used to override mappings of multiple properties or fields.
The simplest type of mapping to a database column.
Defines the set of cascadable operations that are propagated to the associated entity.
Specifies the table that is used for the mapping of collections of basic or embeddable types.
Is used to specify the mapped column for a persistent property or field.
References name of a column in the SELECT clause of a SQL query - i.e., column alias, if applicable.
Used to control the application of a constraint.
The Convert annotation is used to specify the conversion of a Basic field or property.
 
The Converts annotation is used to group Convert annotations.
Specifies the discriminator column for the SINGLE_TABLE and JOINED Inheritance mapping strategies.
Defines supported types of the discriminator column.
Specifies the value of the discriminator column for entities of the given type.
Defines a collection of instances of a basic type or embeddable class.
Defines a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.
Specifies a persistent field or property of an entity whose value is an instance of an embeddable class.
Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class.
Specifies that the class is an entity.
Thrown by the persistence provider when
invalid reference
EntityManager.persist(Object)
is called and the entity already exists.
Specifies the callback listener classes to be used for an entity or mapped superclass.
Thrown by the persistence provider when an entity reference obtained by
invalid reference
EntityManager.getReference
is accessed but the entity does not exist.
Interface used to control transactions on resource-local entity managers.
Specifies that a persistent property or field should be persisted as a enumerated type.
Defines mapping for enumerated types.
Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.
Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.
Defines strategies for fetching data from the database.
Flush mode setting.
The ForeignKey annotation is used in schema generation.
Provides for the specification of generation strategies for the values of primary keys.
Defines the types of primary key generation strategies.
Specifies the primary key of an entity.
Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.
The Index annotation is used in schema generation.
Defines the inheritance strategy to be used for an entity class hierarchy.
Defines inheritance strategy options.
Specifies a column for joining an entity association or element collection.
Defines mapping for composite foreign keys.
Used in the mapping of associations.
Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.
Lock modes can be specified by means of passing a LockModeType argument to one of the
invalid reference
javax.persistence.EntityManager
methods that take locks (lock, find, or refresh) or to the Query.setLockMode() or
invalid reference
TypedQuery.setLockMode()
method.
Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.
Defines a many-valued association with many-to-many multiplicity.
Defines a single-valued association to another entity class that has many-to-one multiplicity.
Specifies the map key for associations of type java.util.Map when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map.
Specifies the type of the map key for associations of type java.util.Map.
Specifies the mapping for the key column of a map whose map key is a basic type.
Specifies the enum type for a map key whose basic type is an enumerated type.
Specifies a mapping to an entity that is a map key.
Supports composite map keys that reference entities.
This annotation must be specified for persistent map keys of type Date and Calendar.
Designates a class whose mapping information is applied to the entities that inherit from it.
Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity.
The NamedAttributeNode annotation is used to specify an attribute node of within an entity graph or subgraph.
The NamedEntityGraph annotation is used to define a named entity graph.
The NamedEntityGraphs annotation is used to specify multiple named entity graphs for the entity to which it is applied.
Used to specify multiple native SQL named queries.
Specifies a named native SQL query.
Specifies multiple named Java Persistence query language queries.
Specifies a static, named query in the Java Persistence query language.
Specifies multiple named stored procedure queries.
Specifies and names a stored procedure, its parameters, and its result type.
The NamedSubgraph annotation is used to further define an attribute node.
Thrown by the persistence provider when Query.getSingleResult() or
invalid reference
TypedQuery.getSingleResult()
is executed on a query and there is more than one result from the query.
Thrown by the persistence provider when Query.getSingleResult() or
invalid reference
TypedQuery.getSingleResult()
is executed on a query and there is no result to return.
Defines a many-valued association with one-to-many multiplicity.
Defines a single-valued association to another entity that has one-to-one multiplicity.
Thrown by the persistence provider when an optimistic locking conflict occurs.
Specifies the ordering of the elements of a collection valued association or element collection at the point when the association or collection is retrieved.
Specifies a column that is used to maintain the persistent order of a list.
Type for query parameter objects.
Specifies the mode of a parameter of a stored procedure query.
Thrown by the persistence provider when a problem occurs.
Thrown by the persistence provider when an pessimistic locking conflict occurs.
Defines the values of the javax.persistence.lock.scope property for pessimistic locking.
Is used to specify callback methods for the corresponding lifecycle event.
Is used to specify callback methods for the corresponding lifecycle event.
Is used to specify callback methods for the corresponding lifecycle event.
Is used to specify callback methods for the corresponding lifecycle event.
Is used to specify callback methods for the corresponding lifecycle event.
Is used to specify callback methods for the corresponding lifecycle event.
Is used to specify callback methods for the corresponding lifecycle event.
Specifies a primary key column that is used as a foreign key to join to another table.
Groups PrimaryKeyJoinColumn annotations.
Interface used to control query execution.
Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation.
Thrown by the persistence provider when a query times out and only the statement is rolled back.
Thrown by the persistence provider when EntityTransaction.commit() fails.
Specifies a secondary table for the annotated entity class.
Specifies multiple secondary tables for an entity.
Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.
Specifies a parameter of a named stored procedure query.
Interface used to control stored procedure query execution.
Specifies the primary table for the annotated entity.
This annotation must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar.
Type used to indicate a specific mapping of java.util.Date or java.util.Calendar.
Thrown by the persistence provider when a transaction is required but is not active.
Specifies that the property or field is not persistent.
Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table.
Specifies the version field or property of an entity class that serves as its optimistic lock value.