| Class and Description |
|---|
| CascadeType
Defines the set of cascadable operations that are propagated
to the associated entity.
|
| DiscriminatorType
Defines supported types of the discriminator column.
|
| EntityManager
Interface used to interact with the persistence context.
|
| EntityManagerFactory
The
EntityManagerFactory interface is used
by the application to obtain an application-managed entity
manager. |
| EntityTransaction
The
EntityTransaction interface is used to control
resource transactions on resource-local entity managers. |
| EnumType
Defines mapping for the enumerated types.
|
| FetchType
Defines strategies for fetching data from the database.
|
| FlushModeType
Flush mode setting.
|
| GenerationType
Defines the types of primary key generation.
|
| InheritanceType
Defines inheritance strategy options.
|
| LockModeType
Lock modes that can be specified by means of the
EntityManager.lock() method. |
| PersistenceContextType
Specifies whether a transaction-scoped or extended
persistence context is to be used in
PersistenceContext. |
| PersistenceException
Thrown by the persistence provider when a problem occurs.
|
| Query
Interface used to control query execution.
|
| TemporalType |
| Class and Description |
|---|
| EntityManagerFactory
The
EntityManagerFactory interface is used
by the application to obtain an application-managed entity
manager. |
| Class and Description |
|---|
| EntityManager
Interface used to interact with the persistence context.
|
| EntityManagerFactory
The
EntityManagerFactory interface is used
by the application to obtain an application-managed entity
manager. |
| Query
Interface used to control query execution.
|
| Class and Description |
|---|
| EntityManager
Interface used to interact with the persistence context.
|
| EntityManagerFactory
The
EntityManagerFactory interface is used
by the application to obtain an application-managed entity
manager. |
| EntityTransaction
The
EntityTransaction interface is used to control
resource transactions on resource-local entity managers. |
| FlushModeType
Flush mode setting.
|
| Query
Interface used to control query execution.
|
| TemporalType |
| Class and Description |
|---|
| LockModeType
Lock modes that can be specified by means of the
EntityManager.lock() method. |
| Class and Description |
|---|
| AssociationOverride
This annotation is used to override a many-to-one or
one-to-one mapping of property or field for an entity relationship.
|
| CascadeType
Defines the set of cascadable operations that are propagated
to the associated entity.
|
| JoinColumn
Is used to specify a mapped column for joining an entity association.
|
| Class and Description |
|---|
| AttributeOverride
The
AttributeOverride annotation is used to
override the mapping of a Basic (whether explicit or
default) property or field or Id property or field. |
| Column
Is used to specify a mapped column for a persistent property or field.
|
| DiscriminatorColumn
Is used to define the discriminator column for the
SINGLE_TABLE and
JOINED inheritance mapping strategies. |
| JoinColumn
Is used to specify a mapped column for joining an entity association.
|
| JoinColumns
Defines mapping for the composite foreign keys.
|
| PrimaryKeyJoinColumn
This annotation specifies a primary key column that is used
as a foreign key to join to another table.
|
| PrimaryKeyJoinColumns
This annotation groups
PrimaryKeyJoinColumn annotations. |
| Class and Description |
|---|
| EntityResult
References an entity in the SELECT clause of a SQL query.
|
| FieldResult
Is used to map the columns specified in the SELECT list
of the query to the properties or fields of the entity class.
|
| NamedNativeQuery
Is used to specify a native SQL named query.
|
| NamedQuery
Is used to specify a named query in the Java Persistence query language,
which is a static query expressed in metadata.
|
| SqlResultSetMapping
This annotation is used to specify the mapping of the result
of a native SQL query.
|
| Class and Description |
|---|
| GeneratedValue
Provides for the specification of generation strategies for
the values of primary keys.
|
| SequenceGenerator
This annotation defines a primary key generator that may
be referenced by name when a generator element is specified
for the
GeneratedValue annotation. |
| TableGenerator
This annotation defines a primary key generator that may be
referenced by name when a generator element is specified for
the
GeneratedValue annotation. |
| Class and Description |
|---|
| JoinTable
This annotation is used in the mapping of associations.
|
| SecondaryTable
This annotation is used to specify a secondary table for
the annotated entity class.
|
| Table
This annotation specifies the primary table for the annotated
entity.
|
| UniqueConstraint
This annotation is used to specify that a unique constraint
is to be included in the generated DDL for a primary or secondary table.
|
| Class and Description |
|---|
| EntityTransaction
The
EntityTransaction interface is used to control
resource transactions on resource-local entity managers. |
Copyright © 2025. All rights reserved.