Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ALL - Enum constant in enum javax.persistence.CascadeType
-
Cascade all operations
- allocationSize() - Element in annotation type javax.persistence.SequenceGenerator
-
(Optional) The amount to increment by when allocating sequence numbers from the sequence.
- AssociationOverride - Annotation Type in javax.persistence
-
Used to override a mapping for an entity relationship.
- AssociationOverrides - Annotation Type in javax.persistence
-
Used to override mappings of multiple relationship properties or fields.
- AttributeConverter<X,
Y> - Interface in javax.persistence -
A class that implements this interface can be used to convert entity attribute state into database column representation and back again.
- attributeName() - Element in annotation type javax.persistence.Convert
-
The attributeName must be specified unless the Convert annotation is on an attribute of basic type or on an element collection of basic type.
- attributeNodes() - Element in annotation type javax.persistence.NamedEntityGraph
-
The attributeNodes element lists attributes of the annotated entity class that are to be included in the entity graph.
- attributeNodes() - Element in annotation type javax.persistence.NamedSubgraph
-
Lists attributes of the class that must be included.
- AttributeOverride - Annotation Type in javax.persistence
-
Used to override the mapping of a
Basic
(whether explicit or default) property or field orId
property or field. - AttributeOverrides - Annotation Type in javax.persistence
-
Used to override mappings of multiple properties or fields.
- AUTO - Enum constant in enum javax.persistence.FlushModeType
-
(Default) Flushing to occur at query execution.
- AUTO - Enum constant in enum javax.persistence.GenerationType
-
Indicates that the persistence provider should pick an appropriate strategy for the particular database.
- autoApply() - Element in annotation type javax.persistence.Converter
B
- Basic - Annotation Type in javax.persistence
-
The simplest type of mapping to a database column.
- begin() - Method in interface javax.persistence.EntityTransaction
-
Start a resource transaction.
C
- cascade() - Element in annotation type javax.persistence.ManyToMany
-
(Optional) The operations that must be cascaded to the target of the association.
- cascade() - Element in annotation type javax.persistence.ManyToOne
-
(Optional) The operations that must be cascaded to the target of the association.
- cascade() - Element in annotation type javax.persistence.OneToMany
-
(Optional) The operations that must be cascaded to the target of the association.
- cascade() - Element in annotation type javax.persistence.OneToOne
-
(Optional) The operations that must be cascaded to the target of the association.
- CascadeType - Enum in javax.persistence
-
Defines the set of cascadable operations that are propagated to the associated entity.
- catalog() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) The catalog of the table.
- catalog() - Element in annotation type javax.persistence.JoinTable
-
(Optional) The catalog of the table.
- catalog() - Element in annotation type javax.persistence.SecondaryTable
-
(Optional) The catalog of the table.
- catalog() - Element in annotation type javax.persistence.SequenceGenerator
-
(Optional) The catalog of the sequence generator.
- catalog() - Element in annotation type javax.persistence.Table
-
(Optional) The catalog of the table.
- CHAR - Enum constant in enum javax.persistence.DiscriminatorType
-
Single character as the discriminator type.
- CollectionTable - Annotation Type in javax.persistence
-
Specifies the table that is used for the mapping of collections of basic or embeddable types.
- column() - Element in annotation type javax.persistence.AttributeOverride
-
(Required) The column that is being mapped to the persistent attribute.
- Column - Annotation Type in javax.persistence
-
Is used to specify the mapped column for a persistent property or field.
- columnDefinition() - Element in annotation type javax.persistence.Column
-
(Optional) The SQL fragment that is used when generating the DDL for the column.
- columnDefinition() - Element in annotation type javax.persistence.DiscriminatorColumn
-
(Optional) The SQL fragment that is used when generating the DDL for the discriminator column.
- columnDefinition() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) The SQL fragment that is used when generating the DDL for the column.
- columnDefinition() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) The SQL fragment that is used when generating the DDL for the column.
- columnDefinition() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) The SQL fragment that is used when generating the DDL for the column.
- columnDefinition() - Element in annotation type javax.persistence.OrderColumn
-
(Optional) The SQL fragment that is used when generating the DDL for the column.
- columnDefinition() - Element in annotation type javax.persistence.PrimaryKeyJoinColumn
-
(Optional) The SQL fragment that is used when generating the DDL for the column.
- columnList() - Element in annotation type javax.persistence.Index
-
(Required) The names of the columns to be included in the index.
- columnNames() - Element in annotation type javax.persistence.UniqueConstraint
-
(Required) An array of the column names that make up the constraint.
- ColumnResult - Annotation Type in javax.persistence
-
References name of a column in the SELECT clause of a SQL query - i.e., column alias, if applicable.
- commit() - Method in interface javax.persistence.EntityTransaction
-
Commit the current resource transaction, writing any unflushed changes to the database.
- COMMIT - Enum constant in enum javax.persistence.FlushModeType
-
Flushing to occur at transaction commit.
- CONSTRAINT - Enum constant in enum javax.persistence.ConstraintMode
-
Apply the constraint.
- ConstraintMode - Enum in javax.persistence
-
Used to control the application of a constraint.
- Convert - Annotation Type in javax.persistence
-
The Convert annotation is used to specify the conversion of a Basic field or property.
- converter() - Element in annotation type javax.persistence.Convert
-
Specifies the converter to be applied.
- Converter - Annotation Type in javax.persistence
- Converts - Annotation Type in javax.persistence
-
The Converts annotation is used to group Convert annotations.
- convertToDatabaseColumn(X) - Method in interface javax.persistence.AttributeConverter
-
Converts the value stored in the entity attribute into the data representation to be stored in the database.
- convertToEntityAttribute(Y) - Method in interface javax.persistence.AttributeConverter
-
Converts the data stored in the database column into the value to be stored in the entity attribute.
D
- DATE - Enum constant in enum javax.persistence.TemporalType
-
Map as
java.sql.Date
- DETACH - Enum constant in enum javax.persistence.CascadeType
-
Cascade detach operation
- disableConversion() - Element in annotation type javax.persistence.Convert
-
Used to disable an auto-apply or inherited converter.
- DiscriminatorColumn - Annotation Type in javax.persistence
- discriminatorType() - Element in annotation type javax.persistence.DiscriminatorColumn
-
(Optional) The type of object/column to use as a class discriminator.
- DiscriminatorType - Enum in javax.persistence
-
Defines supported types of the discriminator column.
- DiscriminatorValue - Annotation Type in javax.persistence
-
Specifies the value of the discriminator column for entities of the given type.
E
- EAGER - Enum constant in enum javax.persistence.FetchType
-
Defines that data must be eagerly fetched.
- ElementCollection - Annotation Type in javax.persistence
-
Defines a collection of instances of a basic type or embeddable class.
- Embeddable - Annotation Type in javax.persistence
-
Defines a class whose instances are stored as an intrinsic part of an owning entity and share the identity of the entity.
- Embedded - Annotation Type in javax.persistence
-
Specifies a persistent field or property of an entity whose value is an instance of an embeddable class.
- EmbeddedId - Annotation Type in javax.persistence
-
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 - Annotation Type in javax.persistence
-
Specifies that the class is an entity.
- EntityExistsException - Exception Class in javax.persistence
-
Thrown by the persistence provider when
invalid reference
EntityManager.persist(Object)
- EntityExistsException() - Constructor for exception class javax.persistence.EntityExistsException
-
Constructs a new
EntityExistsException
exception withnull
as its detail message. - EntityExistsException(String) - Constructor for exception class javax.persistence.EntityExistsException
-
Constructs a new
EntityExistsException
exception with the specified detail message. - EntityExistsException(String, Throwable) - Constructor for exception class javax.persistence.EntityExistsException
-
Constructs a new
EntityExistsException
exception with the specified detail message and cause. - EntityExistsException(Throwable) - Constructor for exception class javax.persistence.EntityExistsException
-
Constructs a new
EntityExistsException
exception with the specified cause. - EntityListeners - Annotation Type in javax.persistence
-
Specifies the callback listener classes to be used for an entity or mapped superclass.
- EntityNotFoundException - Exception Class in javax.persistence
-
Thrown by the persistence provider when an entity reference obtained by
invalid reference
EntityManager.getReference
- EntityNotFoundException() - Constructor for exception class javax.persistence.EntityNotFoundException
-
Constructs a new
EntityNotFoundException
exception withnull
as its detail message. - EntityNotFoundException(String) - Constructor for exception class javax.persistence.EntityNotFoundException
-
Constructs a new
EntityNotFoundException
exception with the specified detail message. - EntityTransaction - Interface in javax.persistence
-
Interface used to control transactions on resource-local entity managers.
- Enumerated - Annotation Type in javax.persistence
-
Specifies that a persistent property or field should be persisted as a enumerated type.
- EnumType - Enum in javax.persistence
-
Defines mapping for enumerated types.
- Example: - Search tag in javax.persistence.Embedded.prefix()
- Section
- ExcludeDefaultListeners - Annotation Type in javax.persistence
-
Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.
- ExcludeSuperclassListeners - Annotation Type in javax.persistence
-
Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.
- execute() - Method in interface javax.persistence.StoredProcedureQuery
-
Return true if the first result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any.
- executeUpdate() - Method in interface javax.persistence.Query
-
Execute an update or delete statement.
- EXTENDED - Enum constant in enum javax.persistence.PessimisticLockScope
-
In addition to the behavior for
PessimisticLockScope.NORMAL
, element collections and relationships owned by the entity that are contained in join tables will be locked if thejavax.persistence.lock.scope
property is specified with a value ofPessimisticLockScope.EXTENDED
.
F
- fetch() - Element in annotation type javax.persistence.Basic
-
(Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched.
- fetch() - Element in annotation type javax.persistence.ElementCollection
-
(Optional) Whether the collection should be lazily loaded or must be eagerly fetched.
- fetch() - Element in annotation type javax.persistence.ManyToMany
-
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
- fetch() - Element in annotation type javax.persistence.ManyToOne
-
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
- fetch() - Element in annotation type javax.persistence.OneToMany
-
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
- fetch() - Element in annotation type javax.persistence.OneToOne
-
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
- FetchType - Enum in javax.persistence
-
Defines strategies for fetching data from the database.
- FlushModeType - Enum in javax.persistence
-
Flush mode setting.
- foreignKey() - Element in annotation type javax.persistence.AssociationOverride
-
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect.
- foreignKey() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect.
- foreignKey() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) The foreign key constraint specification for the join column.
- foreignKey() - Element in annotation type javax.persistence.JoinColumns
-
(Optional) The foreign key constraint specification for the join columns.
- foreignKey() - Element in annotation type javax.persistence.JoinTable
-
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the joinColumns element when table generation is in effect.
- foreignKey() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) The foreign key constraint specification for the join column.
- foreignKey() - Element in annotation type javax.persistence.MapKeyJoinColumns
-
(Optional) The foreign key constraint specification for the join columns.
- foreignKey() - Element in annotation type javax.persistence.PrimaryKeyJoinColumn
-
(Optional) The foreign key constraint specification for the join column.
- foreignKey() - Element in annotation type javax.persistence.PrimaryKeyJoinColumns
-
(Optional) The foreign key constraint specification for the join columns.
- foreignKey() - Element in annotation type javax.persistence.SecondaryTable
-
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the pkJoinColumns element when table generation is in effect.
- ForeignKey - Annotation Type in javax.persistence
-
The ForeignKey annotation is used in schema generation.
- foreignKeyDefinition() - Element in annotation type javax.persistence.ForeignKey
-
(Optional) The foreign key constraint definition.
G
- GeneratedValue - Annotation Type in javax.persistence
-
Provides for the specification of generation strategies for the values of primary keys.
- GenerationType - Enum in javax.persistence
-
Defines the types of primary key generation strategies.
- generator() - Element in annotation type javax.persistence.GeneratedValue
-
(Optional) The name of the primary key generator to use as specified in the
SequenceGenerator
orinvalid reference
TableGenerator
- getEntity() - Method in exception class javax.persistence.OptimisticLockException
-
Returns the entity that caused this exception.
- getEntity() - Method in exception class javax.persistence.PessimisticLockException
-
Returns the entity that caused this exception.
- getFirstResult() - Method in interface javax.persistence.Query
-
The position of the first result the query object was set to retrieve.
- getFlushMode() - Method in interface javax.persistence.Query
-
Get the flush mode in effect for the query execution.
- getHints() - Method in interface javax.persistence.Query
-
Get the properties and hints and associated values that are in effect for the query instance.
- getLockMode() - Method in interface javax.persistence.Query
-
Get the current lock mode for the query.
- getMaxResults() - Method in interface javax.persistence.Query
-
The maximum number of results the query object was set to retrieve.
- getName() - Method in interface javax.persistence.Parameter
-
Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned.
- getObject() - Method in exception class javax.persistence.LockTimeoutException
-
Returns the object that caused this exception.
- getOutputParameterValue(int) - Method in interface javax.persistence.StoredProcedureQuery
-
Retrieve a value passed back from the procedure through an INOUT or OUT parameter.
- getOutputParameterValue(String) - Method in interface javax.persistence.StoredProcedureQuery
-
Retrieve a value passed back from the procedure through an INOUT or OUT parameter.
- getParameter(int) - Method in interface javax.persistence.Query
-
Get the parameter object corresponding to the declared positional parameter with the given position.
- getParameter(int, Class<T>) - Method in interface javax.persistence.Query
-
Get the parameter object corresponding to the declared positional parameter with the given position and type.
- getParameter(String) - Method in interface javax.persistence.Query
-
Get the parameter object corresponding to the declared parameter of the given name.
- getParameter(String, Class<T>) - Method in interface javax.persistence.Query
-
Get the parameter object corresponding to the declared parameter of the given name and type.
- getParameters() - Method in interface javax.persistence.Query
-
Get the parameter objects corresponding to the declared parameters of the query.
- getParameterType() - Method in interface javax.persistence.Parameter
-
Return the Java type of the parameter.
- getParameterValue(int) - Method in interface javax.persistence.Query
-
Return the value bound to the positional parameter.
- getParameterValue(String) - Method in interface javax.persistence.Query
-
Return the value bound to the named parameter.
- getParameterValue(Parameter<T>) - Method in interface javax.persistence.Query
-
Return the value bound to the parameter.
- getPosition() - Method in interface javax.persistence.Parameter
-
Return the parameter position, or null if the parameter is not a positional parameter.
- getQuery() - Method in exception class javax.persistence.QueryTimeoutException
-
Returns the query that caused this exception.
- getResultList() - Method in interface javax.persistence.Query
-
Execute a SELECT query and return the query results as an untyped List.
- getRollbackOnly() - Method in interface javax.persistence.EntityTransaction
-
Determine whether the current resource transaction has been marked for rollback.
- getSingleResult() - Method in interface javax.persistence.Query
-
Execute a SELECT query that returns a single untyped result.
- getUpdateCount() - Method in interface javax.persistence.StoredProcedureQuery
-
Return the update count or -1 if there is no pending result or if the next result is not an update count.
H
- hasMoreResults() - Method in interface javax.persistence.StoredProcedureQuery
-
Return true if the next result corresponds to a result set, and false if it is an update count or if there are no results other than through INOUT and OUT parameters, if any.
- hints() - Element in annotation type javax.persistence.NamedNativeQuery
-
Query properties and hints.
- hints() - Element in annotation type javax.persistence.NamedQuery
-
(Optional) Query properties and hints.
- hints() - Element in annotation type javax.persistence.NamedStoredProcedureQuery
-
Query properties and hints.
I
- Id - Annotation Type in javax.persistence
-
Specifies the primary key of an entity.
- IdClass - Annotation Type in javax.persistence
-
Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.
- IDENTITY - Enum constant in enum javax.persistence.GenerationType
-
Indicates that the persistence provider must assign primary keys for the entity using a database identity column.
- IN - Enum constant in enum javax.persistence.ParameterMode
-
Stored procedure input parameter
- includeAllAttributes() - Element in annotation type javax.persistence.NamedEntityGraph
-
The includeAllAttributes element specifies that all attributes of the annotated entity class are to be included in the entity graph.
- Index - Annotation Type in javax.persistence
-
The Index annotation is used in schema generation.
- indexes() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) Indexes for the table.
- indexes() - Element in annotation type javax.persistence.JoinTable
-
(Optional) Indexes for the table.
- indexes() - Element in annotation type javax.persistence.SecondaryTable
-
(Optional) Indexes for the table.
- indexes() - Element in annotation type javax.persistence.Table
-
(Optional) Indexes for the table.
- Inheritance - Annotation Type in javax.persistence
-
Defines the inheritance strategy to be used for an entity class hierarchy.
- InheritanceType - Enum in javax.persistence
-
Defines inheritance strategy options.
- initialValue() - Element in annotation type javax.persistence.SequenceGenerator
-
(Optional) The value from which the sequence object is to start generating.
- INOUT - Enum constant in enum javax.persistence.ParameterMode
-
Stored procedure input/output parameter
- insertable() - Element in annotation type javax.persistence.Column
-
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
- insertable() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
- insertable() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
- insertable() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
- insertable() - Element in annotation type javax.persistence.OrderColumn
-
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
- INTEGER - Enum constant in enum javax.persistence.DiscriminatorType
-
Integer as the discriminator type.
- inverseForeignKey() - Element in annotation type javax.persistence.JoinTable
-
(Optional) Used to specify or control the generation of a foreign key constraint for the columns corresponding to the inverseJoinColumns element when table generation is in effect.
- inverseJoinColumns() - Element in annotation type javax.persistence.JoinTable
-
(Optional) The foreign key columns of the join table which reference the primary table of the entity that does not own the association.
- isActive() - Method in interface javax.persistence.EntityTransaction
-
Indicate whether a resource transaction is in progress.
- isBound(Parameter<?>) - Method in interface javax.persistence.Query
-
Return a boolean indicating whether a value has been bound to the parameter.
J
- javax.persistence - package javax.persistence
- JoinColumn - Annotation Type in javax.persistence
-
Specifies a column for joining an entity association or element collection.
- joinColumns() - Element in annotation type javax.persistence.AssociationOverride
-
The join column(s) being mapped to the persistent attribute(s).
- joinColumns() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) The foreign key columns of the collection table which reference the primary table of the entity.
- joinColumns() - Element in annotation type javax.persistence.JoinTable
-
(Optional) The foreign key columns of the join table which reference the primary table of the entity owning the association.
- JoinColumns - Annotation Type in javax.persistence
-
Defines mapping for composite foreign keys.
- JOINED - Enum constant in enum javax.persistence.InheritanceType
-
A strategy in which fields that are specific to a subclass are mapped to a separate table than the fields that are common to the parent class, and a join is performed to instantiate the subclass.
- joinTable() - Element in annotation type javax.persistence.AssociationOverride
-
The join table that maps the relationship.
- JoinTable - Annotation Type in javax.persistence
-
Used in the mapping of associations.
K
- keySubgraph() - Element in annotation type javax.persistence.NamedAttributeNode
-
Refers to a NamedSubgraph specification that further characterizes an attribute node corresponding to the key of a Map-valued attribute.
L
- LAZY - Enum constant in enum javax.persistence.FetchType
-
Defines that data can be lazily fetched.
- length() - Element in annotation type javax.persistence.Column
-
(Optional) The column length.
- length() - Element in annotation type javax.persistence.DiscriminatorColumn
-
(Optional) The column length for String-based discriminator types.
- length() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) The column length.
- Lob - Annotation Type in javax.persistence
-
Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.
- lockMode() - Element in annotation type javax.persistence.NamedQuery
-
(Optional) The lock mode type to use in query execution.
- LockModeType - Enum in javax.persistence
-
Lock modes can be specified by means of passing a
LockModeType
argument to one of theinvalid reference
javax.persistence.EntityManager
lock
,find
, orrefresh
) or to theQuery.setLockMode()
orinvalid reference
TypedQuery.setLockMode()
- LockTimeoutException - Exception Class in javax.persistence
-
Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.
- LockTimeoutException() - Constructor for exception class javax.persistence.LockTimeoutException
-
Constructs a new
LockTimeoutException
exception withnull
as its detail message. - LockTimeoutException(Object) - Constructor for exception class javax.persistence.LockTimeoutException
-
Constructs a new
LockTimeoutException
exception with the specified object. - LockTimeoutException(String) - Constructor for exception class javax.persistence.LockTimeoutException
-
Constructs a new
LockTimeoutException
exception with the specified detail message. - LockTimeoutException(String, Throwable) - Constructor for exception class javax.persistence.LockTimeoutException
-
Constructs a new
LockTimeoutException
exception with the specified detail message and cause. - LockTimeoutException(String, Throwable, Object) - Constructor for exception class javax.persistence.LockTimeoutException
-
Constructs a new
LockTimeoutException
exception with the specified detail message, cause, and entity. - LockTimeoutException(Throwable) - Constructor for exception class javax.persistence.LockTimeoutException
-
Constructs a new
LockTimeoutException
exception with the specified cause.
M
- ManyToMany - Annotation Type in javax.persistence
-
Defines a many-valued association with many-to-many multiplicity.
- ManyToOne - Annotation Type in javax.persistence
-
Defines a single-valued association to another entity class that has many-to-one multiplicity.
- MapKey - Annotation Type in javax.persistence
-
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. - MapKeyClass - Annotation Type in javax.persistence
-
Specifies the type of the map key for associations of type
java.util.Map
. - MapKeyColumn - Annotation Type in javax.persistence
-
Specifies the mapping for the key column of a map whose map key is a basic type.
- MapKeyEnumerated - Annotation Type in javax.persistence
-
Specifies the enum type for a map key whose basic type is an enumerated type.
- MapKeyJoinColumn - Annotation Type in javax.persistence
-
Specifies a mapping to an entity that is a map key.
- MapKeyJoinColumns - Annotation Type in javax.persistence
-
Supports composite map keys that reference entities.
- MapKeyTemporal - Annotation Type in javax.persistence
- mappedBy() - Element in annotation type javax.persistence.ManyToMany
-
The field that owns the relationship.
- mappedBy() - Element in annotation type javax.persistence.OneToMany
-
The field that owns the relationship.
- mappedBy() - Element in annotation type javax.persistence.OneToOne
-
(Optional) The field that owns the relationship.
- MappedSuperclass - Annotation Type in javax.persistence
-
Designates a class whose mapping information is applied to the entities that inherit from it.
- MapsId - Annotation Type in javax.persistence
-
Designates a
ManyToOne
orOneToOne
relationship attribute that provides the mapping for anEmbeddedId
primary key, an attribute within anEmbeddedId
primary key, or a simple primary key of the parent entity. - MERGE - Enum constant in enum javax.persistence.CascadeType
-
Cascade merge operation
- mode() - Element in annotation type javax.persistence.StoredProcedureParameter
-
Specifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter.
N
- name() - Element in annotation type javax.persistence.AssociationOverride
-
(Required) The name of the relationship property whose mapping is being overridden if property-based access is being used, or the name of the relationship field if field-based access is used.
- name() - Element in annotation type javax.persistence.AttributeOverride
-
(Required) The name of the property whose mapping is being overridden if property-based access is being used, or the name of the field if field-based access is used.
- name() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) The name of the collection table.
- name() - Element in annotation type javax.persistence.Column
-
(Optional) The name of the column.
- name() - Element in annotation type javax.persistence.ColumnResult
-
(Required) The name of a column in the SELECT clause of a SQL query
- name() - Element in annotation type javax.persistence.DiscriminatorColumn
-
(Optional) The name of column to be used for the discriminator.
- name() - Element in annotation type javax.persistence.Entity
-
(Optional) The entity name.
- name() - Element in annotation type javax.persistence.ForeignKey
-
(Optional) The name of the foreign key constraint.
- name() - Element in annotation type javax.persistence.Index
-
(Optional) The name of the index.
- name() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) The name of the foreign key column.
- name() - Element in annotation type javax.persistence.JoinTable
-
(Optional) The name of the join table.
- name() - Element in annotation type javax.persistence.MapKey
-
(Optional) The name of the persistent field or property of the associated entity that is used as the map key.
- name() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) The name of the map key column.
- name() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) The name of the foreign key column for the map key.
- name() - Element in annotation type javax.persistence.NamedEntityGraph
-
The name element is used to refer to the entity graph.
- name() - Element in annotation type javax.persistence.NamedNativeQuery
-
The name used to refer to the query with the
invalid reference
EntityManager
- name() - Element in annotation type javax.persistence.NamedQuery
-
(Required) The name used to refer to the query with the
invalid reference
EntityManager
- name() - Element in annotation type javax.persistence.NamedStoredProcedureQuery
-
The name used to refer to the query with the
invalid reference
EntityManager
- name() - Element in annotation type javax.persistence.NamedSubgraph
-
The name element is the name used to reference the subgraph from a NamedAttributeNode definition.
- name() - Element in annotation type javax.persistence.OrderColumn
-
(Optional) The name of the ordering column.
- name() - Element in annotation type javax.persistence.PrimaryKeyJoinColumn
-
(Optional) The name of the primary key column of the current table.
- name() - Element in annotation type javax.persistence.QueryHint
-
Name of the hint.
- name() - Element in annotation type javax.persistence.SecondaryTable
-
(Required) The name of the table.
- name() - Element in annotation type javax.persistence.SequenceGenerator
-
(Required) A unique generator name that can be referenced by one or more classes to be the generator for primary key values.
- name() - Element in annotation type javax.persistence.StoredProcedureParameter
-
The name of the parameter as defined by the stored procedure in the database.
- name() - Element in annotation type javax.persistence.Table
-
(Optional) The name of the table.
- name() - Element in annotation type javax.persistence.UniqueConstraint
-
(Optional) Constraint name.
- NamedAttributeNode - Annotation Type in javax.persistence
-
The NamedAttributeNode annotation is used to specify an attribute node of within an entity graph or subgraph.
- NamedEntityGraph - Annotation Type in javax.persistence
-
The NamedEntityGraph annotation is used to define a named entity graph.
- NamedEntityGraphs - Annotation Type in javax.persistence
-
The NamedEntityGraphs annotation is used to specify multiple named entity graphs for the entity to which it is applied.
- NamedNativeQueries - Annotation Type in javax.persistence
-
Used to specify multiple native SQL named queries.
- NamedNativeQuery - Annotation Type in javax.persistence
-
Specifies a named native SQL query.
- NamedQueries - Annotation Type in javax.persistence
-
Specifies multiple named Java Persistence query language queries.
- NamedQuery - Annotation Type in javax.persistence
-
Specifies a static, named query in the Java Persistence query language.
- NamedStoredProcedureQueries - Annotation Type in javax.persistence
-
Specifies multiple named stored procedure queries.
- NamedStoredProcedureQuery - Annotation Type in javax.persistence
-
Specifies and names a stored procedure, its parameters, and its result type.
- NamedSubgraph - Annotation Type in javax.persistence
-
The NamedSubgraph annotation is used to further define an attribute node.
- NO_CONSTRAINT - Enum constant in enum javax.persistence.ConstraintMode
-
Do not apply the constraint.
- NONE - Enum constant in enum javax.persistence.LockModeType
-
No lock.
- NonUniqueResultException - Exception Class in javax.persistence
-
Thrown by the persistence provider when
Query.getSingleResult()
orinvalid reference
TypedQuery.getSingleResult()
- NonUniqueResultException() - Constructor for exception class javax.persistence.NonUniqueResultException
-
Constructs a new
NonUniqueResultException
exception withnull
as its detail message. - NonUniqueResultException(String) - Constructor for exception class javax.persistence.NonUniqueResultException
-
Constructs a new
NonUniqueResultException
exception with the specified detail message. - NoResultException - Exception Class in javax.persistence
-
Thrown by the persistence provider when
Query.getSingleResult()
orinvalid reference
TypedQuery.getSingleResult()
- NoResultException() - Constructor for exception class javax.persistence.NoResultException
-
Constructs a new
NoResultException
exception withnull
as its detail message. - NoResultException(String) - Constructor for exception class javax.persistence.NoResultException
-
Constructs a new
NoResultException
exception with the specified detail message. - NORMAL - Enum constant in enum javax.persistence.PessimisticLockScope
-
This value defines the default behavior for pessimistic locking.
- nullable() - Element in annotation type javax.persistence.Column
-
(Optional) Whether the database column is nullable.
- nullable() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) Whether the foreign key column is nullable.
- nullable() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) Whether the database column is nullable.
- nullable() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) Whether the foreign key column is nullable.
- nullable() - Element in annotation type javax.persistence.OrderColumn
-
(Optional) Whether the database column is nullable.
O
- OneToMany - Annotation Type in javax.persistence
-
Defines a many-valued association with one-to-many multiplicity.
- OneToOne - Annotation Type in javax.persistence
-
Defines a single-valued association to another entity that has one-to-one multiplicity.
- OPTIMISTIC - Enum constant in enum javax.persistence.LockModeType
-
Optimistic lock.
- OPTIMISTIC_FORCE_INCREMENT - Enum constant in enum javax.persistence.LockModeType
-
Optimistic lock, with version update.
- OptimisticLockException - Exception Class in javax.persistence
-
Thrown by the persistence provider when an optimistic locking conflict occurs.
- OptimisticLockException() - Constructor for exception class javax.persistence.OptimisticLockException
-
Constructs a new
OptimisticLockException
exception withnull
as its detail message. - OptimisticLockException(Object) - Constructor for exception class javax.persistence.OptimisticLockException
-
Constructs a new
OptimisticLockException
exception with the specified entity. - OptimisticLockException(String) - Constructor for exception class javax.persistence.OptimisticLockException
-
Constructs a new
OptimisticLockException
exception with the specified detail message. - OptimisticLockException(String, Throwable) - Constructor for exception class javax.persistence.OptimisticLockException
-
Constructs a new
OptimisticLockException
exception with the specified detail message and cause. - OptimisticLockException(String, Throwable, Object) - Constructor for exception class javax.persistence.OptimisticLockException
-
Constructs a new
OptimisticLockException
exception with the specified detail message, cause, and entity. - OptimisticLockException(Throwable) - Constructor for exception class javax.persistence.OptimisticLockException
-
Constructs a new
OptimisticLockException
exception with the specified cause. - optional() - Element in annotation type javax.persistence.Basic
-
(Optional) Defines whether the value of the field or property may be null.
- optional() - Element in annotation type javax.persistence.ManyToOne
-
(Optional) Whether the association is optional.
- optional() - Element in annotation type javax.persistence.OneToOne
-
(Optional) Whether the association is optional.
- OrderBy - Annotation Type in javax.persistence
-
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 - Annotation Type in javax.persistence
-
Specifies a column that is used to maintain the persistent order of a list.
- ORDINAL - Enum constant in enum javax.persistence.EnumType
-
Persist enumerated type property or field as an integer.
- orphanRemoval() - Element in annotation type javax.persistence.OneToMany
-
(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.
- orphanRemoval() - Element in annotation type javax.persistence.OneToOne
-
(Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities.
- OUT - Enum constant in enum javax.persistence.ParameterMode
-
Stored procedure output parameter
P
- Parameter<T> - Interface in javax.persistence
-
Type for query parameter objects.
- ParameterMode - Enum in javax.persistence
-
Specifies the mode of a parameter of a stored procedure query.
- parameters() - Element in annotation type javax.persistence.NamedStoredProcedureQuery
-
Information about all parameters of the stored procedure.
- PERSIST - Enum constant in enum javax.persistence.CascadeType
-
Cascade persist operation
- persistence.api - module persistence.api
- PersistenceException - Exception Class in javax.persistence
-
Thrown by the persistence provider when a problem occurs.
- PersistenceException() - Constructor for exception class javax.persistence.PersistenceException
-
Constructs a new
PersistenceException
exception withnull
as its detail message. - PersistenceException(String) - Constructor for exception class javax.persistence.PersistenceException
-
Constructs a new
PersistenceException
exception with the specified detail message. - PersistenceException(String, Throwable) - Constructor for exception class javax.persistence.PersistenceException
-
Constructs a new
PersistenceException
exception with the specified detail message and cause. - PersistenceException(Throwable) - Constructor for exception class javax.persistence.PersistenceException
-
Constructs a new
PersistenceException
exception with the specified cause. - PESSIMISTIC_FORCE_INCREMENT - Enum constant in enum javax.persistence.LockModeType
-
Pessimistic write lock, with version update.
- PESSIMISTIC_READ - Enum constant in enum javax.persistence.LockModeType
-
Pessimistic read lock.
- PESSIMISTIC_WRITE - Enum constant in enum javax.persistence.LockModeType
-
Pessimistic write lock.
- PessimisticLockException - Exception Class in javax.persistence
-
Thrown by the persistence provider when an pessimistic locking conflict occurs.
- PessimisticLockException() - Constructor for exception class javax.persistence.PessimisticLockException
-
Constructs a new
PessimisticLockException
exception withnull
as its detail message. - PessimisticLockException(Object) - Constructor for exception class javax.persistence.PessimisticLockException
-
Constructs a new
PessimisticLockException
exception with the specified entity. - PessimisticLockException(String) - Constructor for exception class javax.persistence.PessimisticLockException
-
Constructs a new
PessimisticLockException
exception with the specified detail message. - PessimisticLockException(String, Throwable) - Constructor for exception class javax.persistence.PessimisticLockException
-
Constructs a new
PessimisticLockException
exception with the specified detail message and cause. - PessimisticLockException(String, Throwable, Object) - Constructor for exception class javax.persistence.PessimisticLockException
-
Constructs a new
PessimisticLockException
exception with the specified detail message, cause, and entity. - PessimisticLockException(Throwable) - Constructor for exception class javax.persistence.PessimisticLockException
-
Constructs a new
PessimisticLockException
exception with the specified cause. - PessimisticLockScope - Enum in javax.persistence
-
Defines the values of the
javax.persistence.lock.scope
property for pessimistic locking. - pkJoinColumns() - Element in annotation type javax.persistence.SecondaryTable
-
(Optional) The columns that are used to join with the primary table.
- PostLoad - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- PostPersist - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- PostRemove - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- PostUpdate - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- precision() - Element in annotation type javax.persistence.Column
-
(Optional) The precision for a decimal (exact numeric) column.
- precision() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) The precision for a decimal (exact numeric) column.
- prefix() - Element in annotation type javax.persistence.Embedded
-
WARNING: This is an Ebean extension (not yet part of JPA standard, refer to JPA_SPEC-23).
- PrePersist - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- PreRemove - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- PreUpdate - Annotation Type in javax.persistence
-
Is used to specify callback methods for the corresponding lifecycle event.
- PrimaryKeyJoinColumn - Annotation Type in javax.persistence
-
Specifies a primary key column that is used as a foreign key to join to another table.
- PrimaryKeyJoinColumns - Annotation Type in javax.persistence
-
Groups
PrimaryKeyJoinColumn
annotations. - procedureName() - Element in annotation type javax.persistence.NamedStoredProcedureQuery
-
The name of the stored procedure in the database.
- PROVIDER_DEFAULT - Enum constant in enum javax.persistence.ConstraintMode
-
Use the provider-defined default behavior.
Q
- query() - Element in annotation type javax.persistence.NamedNativeQuery
-
The SQL query string.
- query() - Element in annotation type javax.persistence.NamedQuery
-
(Required) The query string in the Java Persistence query language.
- Query - Interface in javax.persistence
-
Interface used to control query execution.
- QueryHint - Annotation Type in javax.persistence
-
Used to supply a query property or hint to the
NamedQuery
orNamedNativeQuery
annotation. - QueryTimeoutException - Exception Class in javax.persistence
-
Thrown by the persistence provider when a query times out and only the statement is rolled back.
- QueryTimeoutException() - Constructor for exception class javax.persistence.QueryTimeoutException
-
Constructs a new
QueryTimeoutException
exception withnull
as its detail message. - QueryTimeoutException(String) - Constructor for exception class javax.persistence.QueryTimeoutException
-
Constructs a new
QueryTimeoutException
exception with the specified detail message. - QueryTimeoutException(String, Throwable) - Constructor for exception class javax.persistence.QueryTimeoutException
-
Constructs a new
QueryTimeoutException
exception with the specified detail message and cause. - QueryTimeoutException(String, Throwable, Query) - Constructor for exception class javax.persistence.QueryTimeoutException
-
Constructs a new
QueryTimeoutException
exception with the specified detail message, cause, and query. - QueryTimeoutException(Throwable) - Constructor for exception class javax.persistence.QueryTimeoutException
-
Constructs a new
QueryTimeoutException
exception with the specified cause. - QueryTimeoutException(Query) - Constructor for exception class javax.persistence.QueryTimeoutException
-
Constructs a new
QueryTimeoutException
exception with the specified query.
R
- READ - Enum constant in enum javax.persistence.LockModeType
-
Synonymous with
OPTIMISTIC
. - REF_CURSOR - Enum constant in enum javax.persistence.ParameterMode
-
Stored procedure reference cursor parameter.
- referencedColumnName() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) The name of the column referenced by this foreign key column.
- referencedColumnName() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) The name of the column referenced by this foreign key column.
- referencedColumnName() - Element in annotation type javax.persistence.PrimaryKeyJoinColumn
-
(Optional) The name of the primary key column of the table being joined to.
- REFRESH - Enum constant in enum javax.persistence.CascadeType
-
Cascade refresh operation
- registerStoredProcedureParameter(int, Class, ParameterMode) - Method in interface javax.persistence.StoredProcedureQuery
-
Register a positional parameter.
- registerStoredProcedureParameter(String, Class, ParameterMode) - Method in interface javax.persistence.StoredProcedureQuery
-
Register a named parameter.
- REMOVE - Enum constant in enum javax.persistence.CascadeType
-
Cascade remove operation
- resultClass() - Element in annotation type javax.persistence.NamedNativeQuery
-
The class of the result.
- resultClasses() - Element in annotation type javax.persistence.NamedStoredProcedureQuery
-
The class or classes that are used to map the results.
- resultSetMapping() - Element in annotation type javax.persistence.NamedNativeQuery
-
The name of a
invalid reference
SqlResultSetMapping
- resultSetMappings() - Element in annotation type javax.persistence.NamedStoredProcedureQuery
-
The names of one or more result set mappings, as defined in metadata.
- rollback() - Method in interface javax.persistence.EntityTransaction
-
Roll back the current resource transaction.
- RollbackException - Exception Class in javax.persistence
-
Thrown by the persistence provider when
EntityTransaction.commit()
fails. - RollbackException() - Constructor for exception class javax.persistence.RollbackException
-
Constructs a new
RollbackException
exception withnull
as its detail message. - RollbackException(String) - Constructor for exception class javax.persistence.RollbackException
-
Constructs a new
RollbackException
exception with the specified detail message. - RollbackException(String, Throwable) - Constructor for exception class javax.persistence.RollbackException
-
Constructs a new
RollbackException
exception with the specified detail message and cause. - RollbackException(Throwable) - Constructor for exception class javax.persistence.RollbackException
-
Constructs a new
RollbackException
exception with the specified cause.
S
- scale() - Element in annotation type javax.persistence.Column
-
(Optional) The scale for a decimal (exact numeric) column.
- scale() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) The scale for a decimal (exact numeric) column.
- schema() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) The schema of the table.
- schema() - Element in annotation type javax.persistence.JoinTable
-
(Optional) The schema of the table.
- schema() - Element in annotation type javax.persistence.SecondaryTable
-
(Optional) The schema of the table.
- schema() - Element in annotation type javax.persistence.SequenceGenerator
-
(Optional) The schema of the sequence generator.
- schema() - Element in annotation type javax.persistence.Table
-
(Optional) The schema of the table.
- SecondaryTable - Annotation Type in javax.persistence
-
Specifies a secondary table for the annotated entity class.
- SecondaryTables - Annotation Type in javax.persistence
-
Specifies multiple secondary tables for an entity.
- SEQUENCE - Enum constant in enum javax.persistence.GenerationType
-
Indicates that the persistence provider must assign primary keys for the entity using a database sequence.
- SequenceGenerator - Annotation Type in javax.persistence
-
Defines a primary key generator that may be referenced by name when a generator element is specified for the
GeneratedValue
annotation. - sequenceName() - Element in annotation type javax.persistence.SequenceGenerator
-
(Optional) The name of the database sequence object from which to obtain primary key values.
- setFirstResult(int) - Method in interface javax.persistence.Query
-
Set the position of the first result to retrieve.
- setFlushMode(FlushModeType) - Method in interface javax.persistence.Query
-
Set the flush mode type to be used for the query execution.
- setFlushMode(FlushModeType) - Method in interface javax.persistence.StoredProcedureQuery
-
Set the flush mode type to be used for the query execution.
- setHint(String, Object) - Method in interface javax.persistence.Query
-
Set a query property or hint.
- setHint(String, Object) - Method in interface javax.persistence.StoredProcedureQuery
-
Set a query property or hint.
- setLockMode(LockModeType) - Method in interface javax.persistence.Query
-
Set the lock mode type to be used for the query execution.
- setMaxResults(int) - Method in interface javax.persistence.Query
-
Set the maximum number of results to retrieve.
- setParameter(int, Object) - Method in interface javax.persistence.Query
-
Bind an argument to a positional parameter.
- setParameter(int, Object) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an argument to a positional parameter.
- setParameter(int, Calendar, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of
java.util.Calendar
to a positional parameter. - setParameter(int, Calendar, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Calendar to a positional parameter.
- setParameter(int, Date, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of
java.util.Date
to a positional parameter. - setParameter(int, Date, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Date to a positional parameter.
- setParameter(String, Object) - Method in interface javax.persistence.Query
-
Bind an argument to a named parameter.
- setParameter(String, Object) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an argument to a named parameter.
- setParameter(String, Calendar, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of
java.util.Calendar
to a named parameter. - setParameter(String, Calendar, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Calendar to a named parameter.
- setParameter(String, Date, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of
java.util.Date
to a named parameter. - setParameter(String, Date, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Date to a named parameter.
- setParameter(Parameter<Calendar>, Calendar, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of
java.util.Calendar
to aParameter
object. - setParameter(Parameter<Calendar>, Calendar, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Calendar to a Parameter object.
- setParameter(Parameter<Date>, Date, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of
java.util.Date
to aParameter
object. - setParameter(Parameter<Date>, Date, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Date to a Parameter object.
- setParameter(Parameter<T>, T) - Method in interface javax.persistence.Query
-
Bind the value of a
Parameter
object. - setParameter(Parameter<T>, T) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind the value of a Parameter object.
- setRollbackOnly() - Method in interface javax.persistence.EntityTransaction
-
Mark the current resource transaction so that the only possible outcome of the transaction is for the transaction to be rolled back.
- SINGLE_TABLE - Enum constant in enum javax.persistence.InheritanceType
-
A single table per class hierarchy.
- StoredProcedureParameter - Annotation Type in javax.persistence
-
Specifies a parameter of a named stored procedure query.
- StoredProcedureQuery - Interface in javax.persistence
-
Interface used to control stored procedure query execution.
- strategy() - Element in annotation type javax.persistence.GeneratedValue
-
(Optional) The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key.
- strategy() - Element in annotation type javax.persistence.Inheritance
-
The strategy to be used for the entity inheritance hierarchy.
- STRING - Enum constant in enum javax.persistence.DiscriminatorType
-
String as the discriminator type.
- STRING - Enum constant in enum javax.persistence.EnumType
-
Persist enumerated type property or field as a string.
- subclassSubgraphs() - Element in annotation type javax.persistence.NamedEntityGraph
-
The subclassSubgraphs element specifies a list of subgraphs that add additional attributes for subclasses of the root entity to which the annotation is applied.
- subgraph() - Element in annotation type javax.persistence.NamedAttributeNode
-
Refers to a NamedSubgraph specification that further characterizes an attribute node corresponding to a managed type (entity or embeddable).
- subgraphs() - Element in annotation type javax.persistence.NamedEntityGraph
-
The subgraphs element specifies a list of subgraphs, further specifying attributes that are managed types.
T
- table() - Element in annotation type javax.persistence.Column
-
(Optional) The name of the table that contains the column.
- table() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) The name of the table that contains the column.
- table() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) The name of the table that contains the column.
- table() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) The name of the table that contains the foreign key column.
- Table - Annotation Type in javax.persistence
-
Specifies the primary table for the annotated entity.
- TABLE_PER_CLASS - Enum constant in enum javax.persistence.InheritanceType
-
A table per concrete entity class.
- targetClass() - Element in annotation type javax.persistence.ElementCollection
-
(Optional) The basic or embeddable class that is the element type of the collection.
- targetEntity() - Element in annotation type javax.persistence.ManyToMany
-
(Optional) The entity class that is the target of the association.
- targetEntity() - Element in annotation type javax.persistence.ManyToOne
-
(Optional) The entity class that is the target of the association.
- targetEntity() - Element in annotation type javax.persistence.OneToMany
-
(Optional) The entity class that is the target of the association.
- targetEntity() - Element in annotation type javax.persistence.OneToOne
-
(Optional) The entity class that is the target of the association.
- Temporal - Annotation Type in javax.persistence
-
This annotation must be specified for persistent fields or properties of type
java.util.Date
andjava.util.Calendar
. - TemporalType - Enum in javax.persistence
-
Type used to indicate a specific mapping of
java.util.Date
orjava.util.Calendar
. - TIME - Enum constant in enum javax.persistence.TemporalType
-
Map as
java.sql.Time
- TIMESTAMP - Enum constant in enum javax.persistence.TemporalType
-
Map as
java.sql.Timestamp
- TransactionRequiredException - Exception Class in javax.persistence
-
Thrown by the persistence provider when a transaction is required but is not active.
- TransactionRequiredException() - Constructor for exception class javax.persistence.TransactionRequiredException
-
Constructs a new
TransactionRequiredException
exception withnull
as its detail message. - TransactionRequiredException(String) - Constructor for exception class javax.persistence.TransactionRequiredException
-
Constructs a new
TransactionRequiredException
exception with the specified detail message. - Transient - Annotation Type in javax.persistence
-
Specifies that the property or field is not persistent.
- type() - Element in annotation type javax.persistence.ColumnResult
-
(Optional) The Java type to which the column type is to be mapped.
- type() - Element in annotation type javax.persistence.NamedSubgraph
-
The type element must be specified when the subgraph corresponds to a subclass of the entity type corresponding to the referencing attribute node.
- type() - Element in annotation type javax.persistence.StoredProcedureParameter
-
JDBC type of the paramter.
U
- unique() - Element in annotation type javax.persistence.Column
-
(Optional) Whether the column is a unique key.
- unique() - Element in annotation type javax.persistence.Index
-
(Optional) Whether the index is unique.
- unique() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) Whether the property is a unique key.
- unique() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) Whether the column is a unique key.
- unique() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) Whether the property is a unique key.
- UniqueConstraint - Annotation Type in javax.persistence
-
Specifies that a unique constraint is to be included in the generated DDL for a primary or secondary table.
- uniqueConstraints() - Element in annotation type javax.persistence.CollectionTable
-
(Optional) Unique constraints that are to be placed on the table.
- uniqueConstraints() - Element in annotation type javax.persistence.JoinTable
-
(Optional) Unique constraints that are to be placed on the table.
- uniqueConstraints() - Element in annotation type javax.persistence.SecondaryTable
-
(Optional) Unique constraints that are to be placed on the table.
- uniqueConstraints() - Element in annotation type javax.persistence.Table
-
(Optional) Unique constraints that are to be placed on the table.
- unwrap(Class<T>) - Method in interface javax.persistence.Query
-
Return an object of the specified type to allow access to the provider-specific API.
- updatable() - Element in annotation type javax.persistence.Column
-
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
- updatable() - Element in annotation type javax.persistence.JoinColumn
-
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
- updatable() - Element in annotation type javax.persistence.MapKeyColumn
-
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
- updatable() - Element in annotation type javax.persistence.MapKeyJoinColumn
-
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
- updatable() - Element in annotation type javax.persistence.OrderColumn
-
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
V
- value() - Element in annotation type javax.persistence.AssociationOverrides
-
(Required) The association override mappings that are to be applied to the relationship field or property .
- value() - Element in annotation type javax.persistence.AttributeOverrides
-
(Required) One or more field or property mapping overrides.
- value() - Element in annotation type javax.persistence.Converts
- value() - Element in annotation type javax.persistence.DiscriminatorValue
-
(Optional) The value that indicates that the row is an entity of the annotated entity type.
- value() - Element in annotation type javax.persistence.EntityListeners
- value() - Element in annotation type javax.persistence.Enumerated
- value() - Element in annotation type javax.persistence.ForeignKey
-
(Optional) Used to specify whether a foreign key constraint should be generated when schema generation is in effect.
- value() - Element in annotation type javax.persistence.IdClass
- value() - Element in annotation type javax.persistence.JoinColumns
- value() - Element in annotation type javax.persistence.MapKeyClass
-
(Required) The type of the map key.
- value() - Element in annotation type javax.persistence.MapKeyEnumerated
-
(Optional) The type used in mapping a map key enum type.
- value() - Element in annotation type javax.persistence.MapKeyJoinColumns
-
(Required) The map key join columns that are used to map to the entity that is the map key.
- value() - Element in annotation type javax.persistence.MapKeyTemporal
-
(Required) The type used in mapping
java.util.Date
orjava.util.Calendar
. - value() - Element in annotation type javax.persistence.MapsId
-
(Optional) The name of the attribute within the composite key to which the relationship attribute corresponds.
- value() - Element in annotation type javax.persistence.NamedAttributeNode
-
Specifies the name of the corresponding attribute.
- value() - Element in annotation type javax.persistence.NamedEntityGraphs
- value() - Element in annotation type javax.persistence.NamedNativeQueries
-
(Required) Array of
NamedNativeQuery
annotations. - value() - Element in annotation type javax.persistence.NamedQueries
-
(Required) An array of
NamedQuery
annotations. - value() - Element in annotation type javax.persistence.NamedStoredProcedureQueries
-
Array of NamedStoredProcedureQuery annotations.
- value() - Element in annotation type javax.persistence.OrderBy
-
An
orderby_list
. - value() - Element in annotation type javax.persistence.PrimaryKeyJoinColumns
- value() - Element in annotation type javax.persistence.QueryHint
-
Value of the hint.
- value() - Element in annotation type javax.persistence.SecondaryTables
- value() - Element in annotation type javax.persistence.Temporal
-
The type used in mapping
java.util.Date
orjava.util.Calendar
. - valueOf(String) - Static method in enum javax.persistence.CascadeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.ConstraintMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.DiscriminatorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.EnumType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.FetchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.FlushModeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.GenerationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.InheritanceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.LockModeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.ParameterMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.PessimisticLockScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.TemporalType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum javax.persistence.CascadeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.ConstraintMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.DiscriminatorType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.EnumType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.FetchType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.FlushModeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.GenerationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.InheritanceType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.LockModeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.ParameterMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.PessimisticLockScope
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum javax.persistence.TemporalType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- Version - Annotation Type in javax.persistence
-
Specifies the version field or property of an entity class that serves as its optimistic lock value.
W
- WRITE - Enum constant in enum javax.persistence.LockModeType
-
Synonymous with
OPTIMISTIC_FORCE_INCREMENT
.
All Classes and Interfaces|All Packages|Serialized Form