All Classes
-
All Classes Interface Summary Enum Summary Exception Summary Annotation Types Summary Class Description AssociationOverride Used to override a mapping for an entity relationship.AssociationOverrides Used to override mappings of multiple relationship properties or fields.AttributeConverter<X,Y> A class that implements this interface can be used to convert entity attribute state into database column representation and back again.AttributeOverride Used to override the mapping of aBasic(whether explicit or default) property or field orIdproperty or field.AttributeOverrides Used to override mappings of multiple properties or fields.Basic The simplest type of mapping to a database column.CascadeType Defines the set of cascadable operations that are propagated to the associated entity.CollectionTable Specifies the table that is used for the mapping of collections of basic or embeddable types.Column Is used to specify the mapped column for a persistent property or field.ColumnResult References name of a column in the SELECT clause of a SQL query - i.e., column alias, if applicable.ConstraintMode Used to control the application of a constraint.Convert The Convert annotation is used to specify the conversion of a Basic field or property.Converter Converts The Converts annotation is used to group Convert annotations.DiscriminatorColumn DiscriminatorType Defines supported types of the discriminator column.DiscriminatorValue Specifies the value of the discriminator column for entities of the given type.ElementCollection Defines a collection of instances of a basic type or embeddable class.Embeddable Defines a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.Embedded Specifies a persistent field or property of an entity whose value is an instance of an embeddable class.EmbeddedId 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.Entity Specifies that the class is an entity.EntityExistsException Thrown by the persistence provider whenEntityManager.persist(Object)is called and the entity already exists.EntityListeners Specifies the callback listener classes to be used for an entity or mapped superclass.EntityNotFoundException Thrown by the persistence provider when an entity reference obtained byEntityManager.getReferenceis accessed but the entity does not exist.EntityTransaction Interface used to control transactions on resource-local entity managers.Enumerated Specifies that a persistent property or field should be persisted as a enumerated type.EnumType Defines mapping for enumerated types.ExcludeDefaultListeners Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.ExcludeSuperclassListeners Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.FetchType Defines strategies for fetching data from the database.FlushModeType Flush mode setting.ForeignKey The ForeignKey annotation is used in schema generation.GeneratedValue Provides for the specification of generation strategies for the values of primary keys.GenerationType Defines the types of primary key generation strategies.Id Specifies the primary key of an entity.IdClass Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.Index The Index annotation is used in schema generation.Inheritance Defines the inheritance strategy to be used for an entity class hierarchy.InheritanceType Defines inheritance strategy options.JoinColumn Specifies a column for joining an entity association or element collection.JoinColumns Defines mapping for composite foreign keys.JoinTable Used in the mapping of associations.Lob Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.LockModeType Lock modes can be specified by means of passing aLockModeTypeargument to one of thejavax.persistence.EntityManagermethods that take locks (lock,find, orrefresh) or to theQuery.setLockMode()orTypedQuery.setLockMode()method.LockTimeoutException Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.ManyToMany Defines a many-valued association with many-to-many multiplicity.ManyToOne Defines a single-valued association to another entity class that has many-to-one multiplicity.MapKey Specifies the map key for associations of typejava.util.Mapwhen the map key is itself the primary key or a persistent field or property of the entity that is the value of the map.MapKeyClass Specifies the type of the map key for associations of typejava.util.Map.MapKeyColumn Specifies the mapping for the key column of a map whose map key is a basic type.MapKeyEnumerated Specifies the enum type for a map key whose basic type is an enumerated type.MapKeyJoinColumn Specifies a mapping to an entity that is a map key.MapKeyJoinColumns Supports composite map keys that reference entities.MapKeyTemporal MappedSuperclass Designates a class whose mapping information is applied to the entities that inherit from it.MapsId Designates aManyToOneorOneToOnerelationship attribute that provides the mapping for anEmbeddedIdprimary key, an attribute within anEmbeddedIdprimary key, or a simple primary key of the parent entity.NamedAttributeNode The NamedAttributeNode annotation is used to specify an attribute node of within an entity graph or subgraph.NamedEntityGraph The NamedEntityGraph annotation is used to define a named entity graph.NamedEntityGraphs The NamedEntityGraphs annotation is used to specify multiple named entity graphs for the entity to which it is applied.NamedNativeQueries Used to specify multiple native SQL named queries.NamedNativeQuery Specifies a named native SQL query.NamedQueries Specifies multiple named Java Persistence query language queries.NamedQuery Specifies a static, named query in the Java Persistence query language.NamedStoredProcedureQueries Specifies multiple named stored procedure queries.NamedStoredProcedureQuery Specifies and names a stored procedure, its parameters, and its result type.NamedSubgraph The NamedSubgraph annotation is used to further define an attribute node.NonUniqueResultException Thrown by the persistence provider whenQuery.getSingleResult()orTypedQuery.getSingleResult()is executed on a query and there is more than one result from the query.NoResultException Thrown by the persistence provider whenQuery.getSingleResult()orTypedQuery.getSingleResult()is executed on a query and there is no result to return.OneToMany Defines a many-valued association with one-to-many multiplicity.OneToOne Defines a single-valued association to another entity that has one-to-one multiplicity.OptimisticLockException Thrown by the persistence provider when an optimistic locking conflict occurs.OrderBy Specifies the ordering of the elements of a collection valued association or element collection at the point when the association or collection is retrieved.OrderColumn Specifies a column that is used to maintain the persistent order of a list.Parameter<T> Type for query parameter objects.ParameterMode Specifies the mode of a parameter of a stored procedure query.PersistenceException Thrown by the persistence provider when a problem occurs.PessimisticLockException Thrown by the persistence provider when an pessimistic locking conflict occurs.PessimisticLockScope Defines the values of thejavax.persistence.lock.scopeproperty for pessimistic locking.PostLoad Is used to specify callback methods for the corresponding lifecycle event.PostPersist Is used to specify callback methods for the corresponding lifecycle event.PostRemove Is used to specify callback methods for the corresponding lifecycle event.PostUpdate Is used to specify callback methods for the corresponding lifecycle event.PrePersist Is used to specify callback methods for the corresponding lifecycle event.PreRemove Is used to specify callback methods for the corresponding lifecycle event.PreUpdate Is used to specify callback methods for the corresponding lifecycle event.PrimaryKeyJoinColumn Specifies a primary key column that is used as a foreign key to join to another table.PrimaryKeyJoinColumns GroupsPrimaryKeyJoinColumnannotations.Query Interface used to control query execution.QueryHint Used to supply a query property or hint to theNamedQueryorNamedNativeQueryannotation.QueryTimeoutException Thrown by the persistence provider when a query times out and only the statement is rolled back.RollbackException Thrown by the persistence provider whenEntityTransaction.commit()fails.SecondaryTable Specifies a secondary table for the annotated entity class.SecondaryTables Specifies multiple secondary tables for an entity.SequenceGenerator Defines a primary key generator that may be referenced by name when a generator element is specified for theGeneratedValueannotation.StoredProcedureParameter Specifies a parameter of a named stored procedure query.StoredProcedureQuery Interface used to control stored procedure query execution.Table Specifies the primary table for the annotated entity.Temporal This annotation must be specified for persistent fields or properties of typejava.util.Dateandjava.util.Calendar.TemporalType Type used to indicate a specific mapping ofjava.util.Dateorjava.util.Calendar.TransactionRequiredException Thrown by the persistence provider when a transaction is required but is not active.Transient Specifies that the property or field is not persistent.UniqueConstraint Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table.Version Specifies the version field or property of an entity class that serves as its optimistic lock value.