Index

A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abs(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the absolute value of its argument.
AbstractQuery<T> - Interface in javax.persistence.criteria
The AbstractQuery interface defines functionality that is common to both top-level queries and subqueries.
Access - Annotation Interface in javax.persistence
Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class.
AccessType - Enum Class in javax.persistence
Is used with the Access annotation to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class.
AccessType() - Constructor for enum class javax.persistence.AccessType
 
addTransformer(ClassTransformer) - Method in interface javax.persistence.spi.PersistenceUnitInfo
Add a transformer supplied by the provider that will be called for every new class definition or class redefinition that gets loaded by the loader returned by the PersistenceUnitInfo.getClassLoader() method.
alias(String) - Method in interface javax.persistence.criteria.Selection
Assigns an alias to the selection item.
all(Subquery<Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an all expression over the subquery results.
ALL - Enum constant in enum class javax.persistence.CascadeType
Cascade all operations
ALL - Enum constant in enum class javax.persistence.SharedCacheMode
All entities and entity-related state and data are cached.
allocationSize() - Element in annotation interface javax.persistence.SequenceGenerator
(Optional) The amount to increment by when allocating sequence numbers from the sequence.
allocationSize() - Element in annotation interface javax.persistence.TableGenerator
(Optional) The amount to increment by when allocating id numbers from the generator.
and(Expression<Boolean>, Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a conjunction of the given boolean expressions.
and(Predicate...) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a conjunction of the given restriction predicates.
AND - Enum constant in enum class javax.persistence.criteria.Predicate.BooleanOperator
 
any(Subquery<Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an any expression over the subquery results.
array(Selection<?>...) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an array-valued selection item.
as(Class<X>) - Method in interface javax.persistence.criteria.Expression
Perform a typecast upon the expression, returning a new expression object.
asc(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an ordering by the ascending value of the expression.
AssociationOverride - Annotation Interface in javax.persistence
Used to override a mapping for an entity relationship.
AssociationOverrides - Annotation Interface in javax.persistence
Used to override mappings of multiple relationship properties or fields.
Attribute<X,Y> - Interface in javax.persistence.metamodel
Represents an attribute of a Java type.
Attribute.PersistentAttributeType - Enum Class in javax.persistence.metamodel
 
AttributeOverride - Annotation Interface in javax.persistence
Used to override the mapping of a Basic (whether explicit or default) property or field or Id property or field.
AttributeOverrides - Annotation Interface in javax.persistence
Used to override mappings of multiple properties or fields.
AUTO - Enum constant in enum class javax.persistence.FlushModeType
(Default) Flushing to occur at query execution.
AUTO - Enum constant in enum class javax.persistence.GenerationType
Indicates that the persistence provider should pick an appropriate strategy for the particular database.
AUTO - Enum constant in enum class javax.persistence.ValidationMode
If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities.
avg(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the avg operation.

B

barrier - Variable in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader
 
Basic - Annotation Interface in javax.persistence
The simplest type of mapping to a database column.
BASIC - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Basic attribute
BASIC - Enum constant in enum class javax.persistence.metamodel.Type.PersistenceType
Basic type
BasicType<X> - Interface in javax.persistence.metamodel
Instances of the type BasicType represent basic types (including temporal and enumerated types).
begin() - Method in interface javax.persistence.EntityTransaction
Start a resource transaction.
between(Expression<? extends Y>, Expression<? extends Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is between the second and third arguments in value.
between(Expression<? extends Y>, Y, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is between the second and third arguments in value.
Bindable<T> - Interface in javax.persistence.metamodel
Instances of the type Bindable represent object or attribute types that can be bound into a Path.
Bindable.BindableType - Enum Class in javax.persistence.metamodel
 
BindableType() - Constructor for enum class javax.persistence.metamodel.Bindable.BindableType
 
BooleanOperator() - Constructor for enum class javax.persistence.criteria.Predicate.BooleanOperator
 
BOTH - Enum constant in enum class javax.persistence.criteria.CriteriaBuilder.Trimspec
Trim from both ends.
BYPASS - Enum constant in enum class javax.persistence.CacheRetrieveMode
Bypass the cache: get data directly from the database.
BYPASS - Enum constant in enum class javax.persistence.CacheStoreMode
Don't insert into cache.

C

Cache - Interface in javax.persistence
Interface used to interact with the second-level cache.
Cacheable - Annotation Interface in javax.persistence
Specifies whether an entity should be cached if caching is enabled when the value of the persistence.xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE.
CacheRetrieveMode - Enum Class in javax.persistence
Used as the value of the javax.persistence.cache.retrieveMode property to specify the behavior when data is retrieved by the find methods and by queries.
CacheRetrieveMode() - Constructor for enum class javax.persistence.CacheRetrieveMode
 
CacheStoreMode - Enum Class in javax.persistence
Used as the value of the javax.persistence.cache.storeMode property to specify the behavior when data is read from the database and when data is committed into the database.
CacheStoreMode() - Constructor for enum class javax.persistence.CacheStoreMode
 
CachingPersistenceProviderResolver(ClassLoader) - Constructor for class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
 
CALLBACK - Enum constant in enum class javax.persistence.ValidationMode
The persistence provider must perform the lifecycle event validation.
cascade() - Element in annotation interface javax.persistence.ManyToMany
(Optional) The operations that must be cascaded to the target of the association.
cascade() - Element in annotation interface javax.persistence.ManyToOne
(Optional) The operations that must be cascaded to the target of the association.
cascade() - Element in annotation interface javax.persistence.OneToMany
(Optional) The operations that must be cascaded to the target of the association.
cascade() - Element in annotation interface javax.persistence.OneToOne
(Optional) The operations that must be cascaded to the target of the association.
CascadeType - Enum Class in javax.persistence
Defines the set of cascadable operations that are propagated to the associated entity.
CascadeType() - Constructor for enum class javax.persistence.CascadeType
 
catalog() - Element in annotation interface javax.persistence.CollectionTable
(Optional) The catalog of the table.
catalog() - Element in annotation interface javax.persistence.JoinTable
(Optional) The catalog of the table.
catalog() - Element in annotation interface javax.persistence.SecondaryTable
(Optional) The catalog of the table.
catalog() - Element in annotation interface javax.persistence.SequenceGenerator
(Optional) The catalog of the sequence generator.
catalog() - Element in annotation interface javax.persistence.Table
(Optional) The catalog of the table.
catalog() - Element in annotation interface javax.persistence.TableGenerator
(Optional) The catalog of the table.
CHAR - Enum constant in enum class javax.persistence.DiscriminatorType
Single character as the discriminator type.
ClassTransformer - Interface in javax.persistence.spi
A persistence provider supplies an instance of this interface to the PersistenceUnitInfo.addTransformer method.
clear() - Method in interface javax.persistence.EntityManager
Clear the persistence context, causing all managed entities to become detached.
clearCachedProviders() - Method in interface javax.persistence.spi.PersistenceProviderResolver
Clear cache of providers.
clearCachedProviders() - Method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
Clear cache of providers.
clearCachedProviders() - Method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader
Clear cache of providers.
close() - Method in interface javax.persistence.EntityManager
Close an application-managed entity manager.
close() - Method in interface javax.persistence.EntityManagerFactory
Close the factory, releasing any resources that it holds.
coalesce() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a coalesce expression.
coalesce(Expression<? extends Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.
coalesce(Expression<? extends Y>, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.
COLLECTION - Enum constant in enum class javax.persistence.metamodel.PluralAttribute.CollectionType
Collection-valued attribute
CollectionAttribute<X,E> - Interface in javax.persistence.metamodel
Instances of the type CollectionAttribute represent persistent java.util.Collection-valued attributes.
CollectionJoin<Z,E> - Interface in javax.persistence.criteria
The CollectionJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Collection.
CollectionTable - Annotation Interface in javax.persistence
Specifies the table that is used for the mapping of collections of basic or embeddable types.
CollectionType() - Constructor for enum class javax.persistence.metamodel.PluralAttribute.CollectionType
 
column() - Element in annotation interface javax.persistence.AttributeOverride
(Required) The column that is being mapped to the persistent attribute.
column() - Element in annotation interface javax.persistence.FieldResult
Name of the column in the SELECT clause - i.e., column aliases, if applicable.
Column - Annotation Interface in javax.persistence
Is used to specify the mapped column for a persistent property or field.
columnDefinition() - Element in annotation interface javax.persistence.Column
(Optional) The SQL fragment that is used when generating the DDL for the column.
columnDefinition() - Element in annotation interface javax.persistence.DiscriminatorColumn
(Optional) The SQL fragment that is used when generating the DDL for the discriminator column.
columnDefinition() - Element in annotation interface javax.persistence.JoinColumn
(Optional) The SQL fragment that is used when generating the DDL for the column.
columnDefinition() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) The SQL fragment that is used when generating the DDL for the column.
columnDefinition() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) The SQL fragment that is used when generating the DDL for the column.
columnDefinition() - Element in annotation interface javax.persistence.OrderColumn
(Optional) The SQL fragment that is used when generating the DDL for the column.
columnDefinition() - Element in annotation interface javax.persistence.PrimaryKeyJoinColumn
(Optional) The SQL fragment that is used when generating the DDL for the column.
columnNames() - Element in annotation interface javax.persistence.UniqueConstraint
(Required) An array of the column names that make up the constraint.
ColumnResult - Annotation Interface in javax.persistence
References name of a column in the SELECT clause of a SQL query - i.e., column alias, if applicable.
columns() - Element in annotation interface javax.persistence.SqlResultSetMapping
Specifies the result set mapping to scalar values.
commit() - Method in interface javax.persistence.EntityTransaction
Commit the current resource transaction, writing any unflushed changes to the database.
COMMIT - Enum constant in enum class javax.persistence.FlushModeType
Flushing to occur at transaction commit.
CompoundSelection<X> - Interface in javax.persistence.criteria
The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor).
concat(String, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for string concatenation.
concat(Expression<String>, String) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for string concatenation.
concat(Expression<String>, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for string concatenation.
conjunction() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a conjunction (with zero conjuncts).
construct(Class<Y>, Selection<?>...) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a selection item corresponding to a constructor.
contains(Class, Object) - Method in interface javax.persistence.Cache
Whether the cache contains data for the given entity.
contains(Object) - Method in interface javax.persistence.EntityManager
Check if the instance is a managed entity instance belonging to the current persistence context.
correlate(CollectionJoin<X, Y>) - Method in interface javax.persistence.criteria.Subquery
Create a subquery collection join object correlated to a collection join object of the enclosing query.
correlate(Join<X, Y>) - Method in interface javax.persistence.criteria.Subquery
Create a subquery join object correlated to a join object of the enclosing query.
correlate(ListJoin<X, Y>) - Method in interface javax.persistence.criteria.Subquery
Create a subquery list join object correlated to a list join object of the enclosing query.
correlate(MapJoin<X, K, V>) - Method in interface javax.persistence.criteria.Subquery
Create a subquery map join object correlated to a map join object of the enclosing query.
correlate(Root<Y>) - Method in interface javax.persistence.criteria.Subquery
Create a subquery root correlated to a root of the enclosing query.
correlate(SetJoin<X, Y>) - Method in interface javax.persistence.criteria.Subquery
Create a subquery set join object correlated to a set join object of the enclosing query.
count(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the count operation.
countDistinct(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the count distinct operation.
createContainerEntityManagerFactory(PersistenceUnitInfo, Map) - Method in interface javax.persistence.spi.PersistenceProvider
Called by the container when an EntityManagerFactory is to be created.
createEntityManager() - Method in interface javax.persistence.EntityManagerFactory
Create a new application-managed EntityManager.
createEntityManager(Map) - Method in interface javax.persistence.EntityManagerFactory
Create a new application-managed EntityManager with the specified Map of properties.
createEntityManagerFactory(String) - Static method in class javax.persistence.Persistence
Create and return an EntityManagerFactory for the named persistence unit.
createEntityManagerFactory(String, Map) - Static method in class javax.persistence.Persistence
Create and return an EntityManagerFactory for the named persistence unit using the given properties.
createEntityManagerFactory(String, Map) - Method in interface javax.persistence.spi.PersistenceProvider
Called by Persistence class when an EntityManagerFactory is to be created.
createNamedQuery(String) - Method in interface javax.persistence.EntityManager
Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL).
createNamedQuery(String, Class<T>) - Method in interface javax.persistence.EntityManager
Create an instance of TypedQuery for executing a Java Persistence query language named query.
createNativeQuery(String) - Method in interface javax.persistence.EntityManager
Create an instance of Query for executing a native SQL statement, e.g., for update or delete.
createNativeQuery(String, Class) - Method in interface javax.persistence.EntityManager
Create an instance of Query for executing a native SQL query.
createNativeQuery(String, String) - Method in interface javax.persistence.EntityManager
Create an instance of Query for executing a native SQL query.
createQuery() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a CriteriaQuery object.
createQuery(Class<T>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a CriteriaQuery object with the specified result type.
createQuery(String) - Method in interface javax.persistence.EntityManager
Create an instance of Query for executing a Java Persistence query language statement.
createQuery(String, Class<T>) - Method in interface javax.persistence.EntityManager
Create an instance of TypedQuery for executing a Java Persistence query language statement.
createQuery(CriteriaQuery<T>) - Method in interface javax.persistence.EntityManager
Create an instance of TypedQuery for executing a criteria query.
createTupleQuery() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a CriteriaQuery object that returns a tuple of objects as its result.
CriteriaBuilder - Interface in javax.persistence.criteria
Used to construct criteria queries, compound selections, expressions, predicates, orderings.
CriteriaBuilder.Case<R> - Interface in javax.persistence.criteria
Interface used to build general case expressions.
CriteriaBuilder.Coalesce<T> - Interface in javax.persistence.criteria
Interface used to build coalesce expressions.
CriteriaBuilder.In<T> - Interface in javax.persistence.criteria
Interface used to build in predicates.
CriteriaBuilder.SimpleCase<C,R> - Interface in javax.persistence.criteria
Interface used to build simple case expressions.
CriteriaBuilder.Trimspec - Enum Class in javax.persistence.criteria
Used to specify how strings are trimmed.
CriteriaQuery<T> - Interface in javax.persistence.criteria
The CriteriaQuery interface defines functionality that is specific to top-level queries.
currentDate() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to return current date.
currentTime() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to return current time.
currentTimestamp() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to return current timestamp.

D

DATE - Enum constant in enum class javax.persistence.TemporalType
Map as java.sql.Date
DEFAULT_RESOLVER - Static variable in class javax.persistence.spi.PersistenceProviderResolverHolder
 
desc(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an ordering by the descending value of the expression.
detach(Object) - Method in interface javax.persistence.EntityManager
Remove the given entity from the persistence context, causing a managed entity to become detached.
DETACH - Enum constant in enum class javax.persistence.CascadeType
Cascade detach operation
diff(Expression<? extends N>, Expression<? extends N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the difference between its arguments.
diff(Expression<? extends N>, N) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the difference between its arguments.
diff(N, Expression<? extends N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the difference between its arguments.
DISABLE_SELECTIVE - Enum constant in enum class javax.persistence.SharedCacheMode
Caching is enabled for all entities except those for which Cacheable(false) is specified.
discriminatorColumn() - Element in annotation interface javax.persistence.EntityResult
Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance.
DiscriminatorColumn - Annotation Interface in javax.persistence
Specifies the discriminator column for the SINGLE_TABLE and JOINED Inheritance mapping strategies.
discriminatorType() - Element in annotation interface javax.persistence.DiscriminatorColumn
(Optional) The type of object/column to use as a class discriminator.
DiscriminatorType - Enum Class in javax.persistence
Defines supported types of the discriminator column.
DiscriminatorType() - Constructor for enum class javax.persistence.DiscriminatorType
 
DiscriminatorValue - Annotation Interface in javax.persistence
Specifies the value of the discriminator column for entities of the given type.
disjunction() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a disjunction (with zero disjuncts).
distinct(boolean) - Method in interface javax.persistence.criteria.AbstractQuery
Specify whether duplicate query results will be eliminated.
distinct(boolean) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify whether duplicate query results will be eliminated.
distinct(boolean) - Method in interface javax.persistence.criteria.Subquery
Specify whether duplicate query results will be eliminated.

E

EAGER - Enum constant in enum class javax.persistence.FetchType
Defines that data must be eagerly fetched.
ELEMENT_COLLECTION - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Element collection
ElementCollection - Annotation Interface in javax.persistence
Defines a collection of instances of a basic type or embeddable class.
embeddable(Class<X>) - Method in interface javax.persistence.metamodel.Metamodel
Return the metamodel embeddable type representing the embeddable class.
Embeddable - Annotation Interface 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.
EMBEDDABLE - Enum constant in enum class javax.persistence.metamodel.Type.PersistenceType
Embeddable class
EmbeddableType<X> - Interface in javax.persistence.metamodel
Instances of the type EmbeddableType represent embeddable types.
Embedded - Annotation Interface in javax.persistence
Specifies a persistent field or property of an entity whose value is an instance of an embeddable class.
EMBEDDED - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Embeddable class attribute
EmbeddedId - Annotation Interface 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.
ENABLE_SELECTIVE - Enum constant in enum class javax.persistence.SharedCacheMode
Caching is enabled for all entities for Cacheable(true) is specified.
entities() - Element in annotation interface javax.persistence.SqlResultSetMapping
Specifies the result set mapping to entities.
entity - Variable in exception javax.persistence.LockTimeoutException
The object that caused the exception
entity - Variable in exception javax.persistence.OptimisticLockException
The object that caused the exception
entity - Variable in exception javax.persistence.PessimisticLockException
The object that caused the exception
entity(Class<X>) - Method in interface javax.persistence.metamodel.Metamodel
Return the metamodel entity type representing the entity.
Entity - Annotation Interface in javax.persistence
Specifies that the class is an entity.
ENTITY - Enum constant in enum class javax.persistence.metamodel.Type.PersistenceType
Entity
ENTITY_TYPE - Enum constant in enum class javax.persistence.metamodel.Bindable.BindableType
Entity type
entityClass() - Element in annotation interface javax.persistence.EntityResult
The class of the result.
EntityExistsException - Exception in javax.persistence
Thrown by the persistence provider when EntityManager.persist(Object) is called and the entity already exists.
EntityExistsException() - Constructor for exception javax.persistence.EntityExistsException
Constructs a new EntityExistsException exception with null as its detail message.
EntityExistsException(String) - Constructor for exception javax.persistence.EntityExistsException
Constructs a new EntityExistsException exception with the specified detail message.
EntityExistsException(String, Throwable) - Constructor for exception javax.persistence.EntityExistsException
Constructs a new EntityExistsException exception with the specified detail message and cause.
EntityExistsException(Throwable) - Constructor for exception javax.persistence.EntityExistsException
Constructs a new EntityExistsException exception with the specified cause.
EntityListeners - Annotation Interface in javax.persistence
Specifies the callback listener classes to be used for an entity or mapped superclass.
EntityManager - Interface in javax.persistence
Interface used to interact with the persistence context.
EntityManagerFactory - Interface in javax.persistence
Interface used to interact with the entity manager factory for the persistence unit.
EntityNotFoundException - Exception in javax.persistence
Thrown by the persistence provider when an entity reference obtained by EntityManager.getReference is accessed but the entity does not exist.
EntityNotFoundException() - Constructor for exception javax.persistence.EntityNotFoundException
Constructs a new EntityNotFoundException exception with null as its detail message.
EntityNotFoundException(String) - Constructor for exception javax.persistence.EntityNotFoundException
Constructs a new EntityNotFoundException exception with the specified detail message.
EntityResult - Annotation Interface in javax.persistence
Used to map the SELECT clause of a SQL query to an entity result.
EntityTransaction - Interface in javax.persistence
Interface used to control transactions on resource-local entity managers.
EntityType<X> - Interface in javax.persistence.metamodel
Instances of the type EntityType represent entity types.
entry() - Method in interface javax.persistence.criteria.MapJoin
Create an expression that corresponds to the map entry.
Enumerated - Annotation Interface in javax.persistence
Specifies that a persistent property or field should be persisted as a enumerated type.
EnumType - Enum Class in javax.persistence
Defines mapping for enumerated types.
EnumType() - Constructor for enum class javax.persistence.EnumType
 
equal(Expression<?>, Object) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing the arguments for equality.
equal(Expression<?>, Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing the arguments for equality.
evict(Class) - Method in interface javax.persistence.Cache
Remove the data for entities of the specified class (and its subclasses) from the cache.
evict(Class, Object) - Method in interface javax.persistence.Cache
Remove the data for the given entity from the cache.
evictAll() - Method in interface javax.persistence.Cache
Clear the cache.
ExcludeDefaultListeners - Annotation Interface 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 Interface in javax.persistence
Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses.
excludeUnlistedClasses() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns whether classes in the root of the persistence unit that have not been explicitly listed are to be included in the set of managed classes.
executeUpdate() - Method in interface javax.persistence.Query
Execute an update or delete statement.
exists(Subquery<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate testing the existence of a subquery result.
Expression<T> - Interface in javax.persistence.criteria
Type for query expressions.
EXTENDED - Enum constant in enum class javax.persistence.PersistenceContextType
Extended persistence context
EXTENDED - Enum constant in enum class 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 the javax.persistence.lock.scope property is specified with a value of PessimisticLockScope.EXTENDED.

F

fetch() - Element in annotation interface 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 interface javax.persistence.ElementCollection
(Optional) Whether the collection should be lazily loaded or must be eagerly fetched.
fetch() - Element in annotation interface javax.persistence.ManyToMany
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
fetch() - Element in annotation interface javax.persistence.ManyToOne
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
fetch() - Element in annotation interface javax.persistence.OneToMany
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
fetch() - Element in annotation interface javax.persistence.OneToOne
(Optional) Whether the association should be lazily loaded or must be eagerly fetched.
fetch(String) - Method in interface javax.persistence.criteria.FetchParent
Create a fetch join to the specified attribute using an inner join.
fetch(String, JoinType) - Method in interface javax.persistence.criteria.FetchParent
Create a fetch join to the specified attribute using the given join type.
fetch(PluralAttribute<? super X, ?, Y>) - Method in interface javax.persistence.criteria.FetchParent
Create a fetch join to the specified collection-valued attribute using an inner join.
fetch(PluralAttribute<? super X, ?, Y>, JoinType) - Method in interface javax.persistence.criteria.FetchParent
Create a fetch join to the specified collection-valued attribute using the given join type.
fetch(SingularAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.FetchParent
Create a fetch join to the specified single-valued attribute using an inner join.
fetch(SingularAttribute<? super X, Y>, JoinType) - Method in interface javax.persistence.criteria.FetchParent
Create a fetch join to the specified single-valued attribute using the given join type.
Fetch<Z,X> - Interface in javax.persistence.criteria
Represents a join-fetched association or attribute.
FetchParent<Z,X> - Interface in javax.persistence.criteria
Represents an element of the from clause which may function as the parent of Fetches.
FetchType - Enum Class in javax.persistence
Defines strategies for fetching data from the database.
FetchType() - Constructor for enum class javax.persistence.FetchType
 
FIELD - Enum constant in enum class javax.persistence.AccessType
Field-based access is used.
FieldResult - Annotation Interface in javax.persistence
Is used to map the columns specified in the SELECT list of the query to the properties or fields of the entity class.
fields() - Element in annotation interface javax.persistence.EntityResult
Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class.
find(Class<T>, Object) - Method in interface javax.persistence.EntityManager
Find by primary key.
find(Class<T>, Object, Map<String, Object>) - Method in interface javax.persistence.EntityManager
Find by primary key, using the specified properties.
find(Class<T>, Object, LockModeType) - Method in interface javax.persistence.EntityManager
Find by primary key and lock.
find(Class<T>, Object, LockModeType, Map<String, Object>) - Method in interface javax.persistence.EntityManager
Find by primary key and lock, using the specified properties.
flush() - Method in interface javax.persistence.EntityManager
Synchronize the persistence context to the underlying database.
FlushModeType - Enum Class in javax.persistence
Flush mode setting.
FlushModeType() - Constructor for enum class javax.persistence.FlushModeType
 
from(Class<X>) - Method in interface javax.persistence.criteria.AbstractQuery
Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.
from(EntityType<X>) - Method in interface javax.persistence.criteria.AbstractQuery
Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.
From<Z,X> - Interface in javax.persistence.criteria
Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause.
function(String, Class<T>, Expression<?>...) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for the execution of a database function.

G

ge(Expression<? extends Number>, Number) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than or equal to the second.
ge(Expression<? extends Number>, Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than or equal to the second.
GeneratedValue - Annotation Interface in javax.persistence
Provides for the specification of generation strategies for the values of primary keys.
GenerationType - Enum Class in javax.persistence
Defines the types of primary key generation strategies.
GenerationType() - Constructor for enum class javax.persistence.GenerationType
 
generator() - Element in annotation interface javax.persistence.GeneratedValue
(Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation.
get(int) - Method in interface javax.persistence.Tuple
Get the value of the element at the specified position in the result tuple.
get(int, Class<X>) - Method in interface javax.persistence.Tuple
Get the value of the element at the specified position in the result tuple.
get(String) - Method in interface javax.persistence.criteria.Path
Create a path corresponding to the referenced attribute.
get(String) - Method in interface javax.persistence.Tuple
Get the value of the tuple element to which the specified alias has been assigned.
get(String, Class<X>) - Method in interface javax.persistence.Tuple
Get the value of the tuple element to which the specified alias has been assigned.
get(MapAttribute<X, K, V>) - Method in interface javax.persistence.criteria.Path
Create a path corresponding to the referenced map-valued attribute.
get(PluralAttribute<X, C, E>) - Method in interface javax.persistence.criteria.Path
Create a path corresponding to the referenced collection-valued attribute.
get(SingularAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.Path
Create a path corresponding to the referenced single-valued attribute.
get(TupleElement<X>) - Method in interface javax.persistence.Tuple
Get the value of the specified tuple element.
getAlias() - Method in interface javax.persistence.TupleElement
Return the alias assigned to the tuple element or null, if no alias has been assigned.
getAttribute() - Method in interface javax.persistence.criteria.Fetch
Return the metamodel attribute corresponding to the fetch join.
getAttribute() - Method in interface javax.persistence.criteria.Join
Return the metamodel attribute corresponding to the join.
getAttribute(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the attribute of the managed type that corresponds to the specified name.
getAttributes() - Method in interface javax.persistence.metamodel.ManagedType
Return the attributes of the managed type.
getBindableJavaType() - Method in interface javax.persistence.metamodel.Bindable
Return the Java type of the represented object.
getBindableType() - Method in interface javax.persistence.metamodel.Bindable
Return the bindable type of the represented object.
getCache() - Method in interface javax.persistence.EntityManagerFactory
Access the cache that is associated with the entity manager factory (the "second level cache").
getClassLoader() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns ClassLoader that the provider may use to load any classes, resources, or open URLs.
getCollection(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the Collection-valued attribute of the managed type that corresponds to the specified name.
getCollection(String, Class<E>) - Method in interface javax.persistence.metamodel.ManagedType
Return the Collection-valued attribute of the managed type that corresponds to the specified name and Java element type.
getCollectionType() - Method in interface javax.persistence.metamodel.PluralAttribute
Return the collection type.
getCompoundSelectionItems() - Method in interface javax.persistence.criteria.Selection
Return the selection items composing a compound selection.
getContextualClassLoader() - Static method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader
 
getCorrelatedJoins() - Method in interface javax.persistence.criteria.Subquery
Return the correlated joins of the subquery.
getCorrelationParent() - Method in interface javax.persistence.criteria.From
Returns the parent From object from which the correlated From object has been obtained through correlation (use of a Subquery correlate method).
getCriteriaBuilder() - Method in interface javax.persistence.EntityManager
Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.
getCriteriaBuilder() - Method in interface javax.persistence.EntityManagerFactory
Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.
getDeclaredAttribute(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the attribute declared by the managed type that corresponds to the specified name.
getDeclaredAttributes() - Method in interface javax.persistence.metamodel.ManagedType
Return the attributes declared by the managed type.
getDeclaredCollection(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the Collection-valued attribute declared by the managed type that corresponds to the specified name.
getDeclaredCollection(String, Class<E>) - Method in interface javax.persistence.metamodel.ManagedType
Return the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element type.
getDeclaredId(Class<Y>) - Method in interface javax.persistence.metamodel.IdentifiableType
Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass.
getDeclaredList(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the List-valued attribute declared by the managed type that corresponds to the specified name.
getDeclaredList(String, Class<E>) - Method in interface javax.persistence.metamodel.ManagedType
Return the List-valued attribute declared by the managed type that corresponds to the specified name and Java element type.
getDeclaredMap(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the Map-valued attribute declared by the managed type that corresponds to the specified name.
getDeclaredMap(String, Class<K>, Class<V>) - Method in interface javax.persistence.metamodel.ManagedType
Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types.
getDeclaredPluralAttributes() - Method in interface javax.persistence.metamodel.ManagedType
Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type.
getDeclaredSet(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the Set-valued attribute declared by the managed type that corresponds to the specified name.
getDeclaredSet(String, Class<E>) - Method in interface javax.persistence.metamodel.ManagedType
Return the Set-valued attribute declared by the managed type that corresponds to the specified name and Java element type.
getDeclaredSingularAttribute(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the single-valued attribute declared by the managed type that corresponds to the specified name.
getDeclaredSingularAttribute(String, Class<Y>) - Method in interface javax.persistence.metamodel.ManagedType
Return the single-valued attribute declared by the managed type that corresponds to the specified name and Java type.
getDeclaredSingularAttributes() - Method in interface javax.persistence.metamodel.ManagedType
Return the single-valued attributes declared by the managed type.
getDeclaredVersion(Class<Y>) - Method in interface javax.persistence.metamodel.IdentifiableType
Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass.
getDeclaringType() - Method in interface javax.persistence.metamodel.Attribute
Return the managed type representing the type in which the attribute was declared.
getDelegate() - Method in interface javax.persistence.EntityManager
Return the underlying provider object for the EntityManager, if available.
getElements() - Method in interface javax.persistence.Tuple
Return the tuple elements.
getElementType() - Method in interface javax.persistence.metamodel.PluralAttribute
Return the type representing the element type of the collection.
getEmbeddables() - Method in interface javax.persistence.metamodel.Metamodel
Return the metamodel embeddable types.
getEntities() - Method in interface javax.persistence.metamodel.Metamodel
Return the metamodel entity types.
getEntity() - Method in exception javax.persistence.OptimisticLockException
Returns the entity that caused this exception.
getEntity() - Method in exception javax.persistence.PessimisticLockException
Returns the entity that caused this exception.
getEntityManagerFactory() - Method in interface javax.persistence.EntityManager
Return the entity manager factory for the entity manager.
getExpression() - Method in interface javax.persistence.criteria.CriteriaBuilder.In
Return the expression to be tested against the list of values.
getExpression() - Method in interface javax.persistence.criteria.CriteriaBuilder.SimpleCase
Return the expression to be tested against the conditions.
getExpression() - Method in interface javax.persistence.criteria.Order
Return the expression that is used for ordering.
getExpressions() - Method in interface javax.persistence.criteria.Predicate
Return the top-level conjuncts or disjuncts of the predicate.
getFetches() - Method in interface javax.persistence.criteria.FetchParent
Return the fetch joins that have been made from this type.
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.EntityManager
Get the flush mode that applies to all objects contained in the persistence context.
getFlushMode() - Method in interface javax.persistence.Query
Get the flush mode in effect for the query execution.
getGroupList() - Method in interface javax.persistence.criteria.AbstractQuery
Return a list of the grouping expressions.
getGroupRestriction() - Method in interface javax.persistence.criteria.AbstractQuery
Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified.
getHints() - Method in interface javax.persistence.Query
Get the properties and hints and associated values that are in effect for the query instance.
getId(Class<Y>) - Method in interface javax.persistence.metamodel.IdentifiableType
Return the attribute that corresponds to the id attribute of the entity or mapped superclass.
getIdClassAttributes() - Method in interface javax.persistence.metamodel.IdentifiableType
Return the attributes corresponding to the id class of the identifiable type.
getIdentifier(Object) - Method in interface javax.persistence.PersistenceUnitUtil
Return the id of the entity.
getIdType() - Method in interface javax.persistence.metamodel.IdentifiableType
Return the type that represents the type of the id.
getJarFileUrls() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns a list of URLs for the jar files or exploded jar file directories that the persistence provider must examine for managed classes of the persistence unit.
getJavaMember() - Method in interface javax.persistence.metamodel.Attribute
Return the java.lang.reflect.Member for the represented attribute.
getJavaType() - Method in interface javax.persistence.metamodel.Attribute
Return the Java type of the represented attribute.
getJavaType() - Method in interface javax.persistence.metamodel.Type
Return the represented Java type.
getJavaType() - Method in interface javax.persistence.TupleElement
Return the Java type of the tuple element.
getJoins() - Method in interface javax.persistence.criteria.From
Return the joins that have been made from this bound type.
getJoinType() - Method in interface javax.persistence.criteria.Fetch
Return the join type used in the fetch join.
getJoinType() - Method in interface javax.persistence.criteria.Join
Return the join type.
getJtaDataSource() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the JTA-enabled data source to be used by the persistence provider.
getKeyJavaType() - Method in interface javax.persistence.metamodel.MapAttribute
Return the Java type of the map key.
getKeyType() - Method in interface javax.persistence.metamodel.MapAttribute
Return the type representing the key type of the map.
getList(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the List-valued attribute of the managed type that corresponds to the specified name.
getList(String, Class<E>) - Method in interface javax.persistence.metamodel.ManagedType
Return the List-valued attribute of the managed type that corresponds to the specified name and Java element type.
getLockMode() - Method in interface javax.persistence.Query
Get the current lock mode for the query.
getLockMode(Object) - Method in interface javax.persistence.EntityManager
Get the current lock mode for the entity instance.
getManagedClassNames() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the list of the names of the classes that the persistence provider must add to its set of managed classes.
getManagedTypes() - Method in interface javax.persistence.metamodel.Metamodel
Return the metamodel managed types.
getMap(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the Map-valued attribute of the managed type that corresponds to the specified name.
getMap(String, Class<K>, Class<V>) - Method in interface javax.persistence.metamodel.ManagedType
Return the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types.
getMappingFileNames() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the list of the names of the mapping files that the persistence provider must load to determine the mappings for the entity classes.
getMaxResults() - Method in interface javax.persistence.Query
The maximum number of results the query object was set to retrieve.
getMetamodel() - Method in interface javax.persistence.EntityManager
Return an instance of Metamodel interface for access to the metamodel of the persistence unit.
getMetamodel() - Method in interface javax.persistence.EntityManagerFactory
Return an instance of Metamodel interface for access to the metamodel of the persistence unit.
getModel() - Method in interface javax.persistence.criteria.CollectionJoin
Return the metamodel representation for the collection attribute.
getModel() - Method in interface javax.persistence.criteria.ListJoin
Return the metamodel representation for the list attribute.
getModel() - Method in interface javax.persistence.criteria.MapJoin
Return the metamodel representation for the map attribute.
getModel() - Method in interface javax.persistence.criteria.Path
Return the bindable object that corresponds to the path expression.
getModel() - Method in interface javax.persistence.criteria.PluralJoin
Return the metamodel representation for the collection-valued attribute corresponding to the join.
getModel() - Method in interface javax.persistence.criteria.Root
Return the metamodel entity corresponding to the root.
getModel() - Method in interface javax.persistence.criteria.SetJoin
Return the metamodel representation for the set attribute.
getName() - Method in interface javax.persistence.metamodel.Attribute
Return the name of the attribute.
getName() - Method in interface javax.persistence.metamodel.EntityType
Return the entity name.
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.
getNewTempClassLoader() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Return a new instance of a ClassLoader that the provider may use to temporarily load any classes, resources, or open URLs.
getNonJtaDataSource() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA transaction.
getObject() - Method in exception javax.persistence.LockTimeoutException
Returns the object that caused this exception.
getOperator() - Method in interface javax.persistence.criteria.Predicate
Return the boolean operator for the predicate.
getOrderList() - Method in interface javax.persistence.criteria.CriteriaQuery
Return the ordering expressions in order of precedence.
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.criteria.CriteriaQuery
Return the parameters of the query.
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.
getParent() - Method in interface javax.persistence.criteria.Fetch
Return the parent of the fetched item.
getParent() - Method in interface javax.persistence.criteria.Join
Return the parent of the join.
getParent() - Method in interface javax.persistence.criteria.Subquery
Return the query of which this is a subquery.
getParentPath() - Method in interface javax.persistence.criteria.Path
Return the parent "node" in the path or null if no parent.
getPersistenceProviderClassName() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the fully qualified name of the persistence provider implementation class.
getPersistenceProviderResolver() - Static method in class javax.persistence.spi.PersistenceProviderResolverHolder
Returns the current persistence provider resolver
getPersistenceProviders() - Method in interface javax.persistence.spi.PersistenceProviderResolver
Returns a list of the PersistenceProvider implementations available in the runtime environment.
getPersistenceProviders() - Method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
Returns a list of the PersistenceProvider implementations available in the runtime environment.
getPersistenceProviders() - Method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader
Returns a list of the PersistenceProvider implementations available in the runtime environment.
getPersistenceType() - Method in interface javax.persistence.metamodel.Type
Return the persistence type.
getPersistenceUnitName() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the name of the persistence unit.
getPersistenceUnitRootUrl() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the URL for the jar file or directory that is the root of the persistence unit.
getPersistenceUnitUtil() - Method in interface javax.persistence.EntityManagerFactory
Return interface providing access to utility methods for the persistence unit.
getPersistenceUtil() - Static method in class javax.persistence.Persistence
 
getPersistenceXMLSchemaVersion() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the schema version of the persistence.xml file.
getPersistentAttributeType() - Method in interface javax.persistence.metamodel.Attribute
Return the persistent attribute type for the attribute.
getPluralAttributes() - Method in interface javax.persistence.metamodel.ManagedType
Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type.
getPosition() - Method in interface javax.persistence.Parameter
Return the parameter position, or null if the parameter is not a positional parameter.
getProperties() - Method in interface javax.persistence.EntityManager
Get the properties and hints and associated values that are in effect for the entity manager.
getProperties() - Method in interface javax.persistence.EntityManagerFactory
Get the properties and associated values that are in effect for the entity manager factory.
getProperties() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns a properties object.
getProviders() - Static method in class javax.persistence.Persistence
 
getProviderUtil() - Method in interface javax.persistence.spi.PersistenceProvider
Return the utility interface implemented by the persistence provider.
getQuery() - Method in exception javax.persistence.QueryTimeoutException
Returns the query that caused this exception.
getReference(Class<T>, Object) - Method in interface javax.persistence.EntityManager
Get an instance, whose state may be lazily fetched.
getRestriction() - Method in interface javax.persistence.criteria.AbstractQuery
Return the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.
getResultList() - Method in interface javax.persistence.Query
Execute a SELECT query and return the query results as an untyped List.
getResultList() - Method in interface javax.persistence.TypedQuery
Execute a SELECT query and return the query results as a typed List.
getResultType() - Method in interface javax.persistence.criteria.AbstractQuery
Return the result type of the query or subquery.
getRollbackOnly() - Method in interface javax.persistence.EntityTransaction
Determine whether the current resource transaction has been marked for rollback.
getRoots() - Method in interface javax.persistence.criteria.AbstractQuery
Return the query roots.
getSelection() - Method in interface javax.persistence.criteria.AbstractQuery
Return the selection of the query, or null if no selection has been set.
getSelection() - Method in interface javax.persistence.criteria.Subquery
Return the selection expression.
getSet(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the Set-valued attribute of the managed type that corresponds to the specified name.
getSet(String, Class<E>) - Method in interface javax.persistence.metamodel.ManagedType
Return the Set-valued attribute of the managed type that corresponds to the specified name and Java element type.
getSharedCacheMode() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the specification of how the provider must use a second-level cache for the persistence unit.
getSingleResult() - Method in interface javax.persistence.Query
Execute a SELECT query that returns a single untyped result.
getSingleResult() - Method in interface javax.persistence.TypedQuery
Execute a SELECT query that returns a single result.
getSingularAttribute(String) - Method in interface javax.persistence.metamodel.ManagedType
Return the single-valued attribute of the managed type that corresponds to the specified name.
getSingularAttribute(String, Class<Y>) - Method in interface javax.persistence.metamodel.ManagedType
Return the single-valued attribute of the managed type that corresponds to the specified name and Java type.
getSingularAttributes() - Method in interface javax.persistence.metamodel.ManagedType
Return the single-valued attributes of the managed type.
getSupertype() - Method in interface javax.persistence.metamodel.IdentifiableType
Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass.
getTransaction() - Method in interface javax.persistence.EntityManager
Return the resource-level EntityTransaction object.
getTransactionType() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the transaction type of the entity managers created by the EntityManagerFactory.
getType() - Method in interface javax.persistence.metamodel.SingularAttribute
Return the type that represents the type of the attribute.
getValidationMode() - Method in interface javax.persistence.spi.PersistenceUnitInfo
Returns the validation mode to be used by the persistence provider for the persistence unit.
getVersion(Class<Y>) - Method in interface javax.persistence.metamodel.IdentifiableType
Return the attribute that corresponds to the version attribute of the entity or mapped superclass.
greaterThan(Expression<? extends Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than the second.
greaterThan(Expression<? extends Y>, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than the second.
greaterThanOrEqualTo(Expression<? extends Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than or equal to the second.
greaterThanOrEqualTo(Expression<? extends Y>, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than or equal to the second.
greatest(Expression<X>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression for finding the greatest of the values (strings, dates, etc).
groupBy(List<Expression<?>>) - Method in interface javax.persistence.criteria.AbstractQuery
Specify the expressions that are used to form groups over the query results.
groupBy(List<Expression<?>>) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the expressions that are used to form groups over the query results.
groupBy(List<Expression<?>>) - Method in interface javax.persistence.criteria.Subquery
Specify the expressions that are used to form groups over the subquery results.
groupBy(Expression<?>...) - Method in interface javax.persistence.criteria.AbstractQuery
Specify the expressions that are used to form groups over the query results.
groupBy(Expression<?>...) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the expressions that are used to form groups over the query results.
groupBy(Expression<?>...) - Method in interface javax.persistence.criteria.Subquery
Specify the expressions that are used to form groups over the subquery results.
gt(Expression<? extends Number>, Number) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than the second.
gt(Expression<? extends Number>, Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is greater than the second.

H

hasSingleIdAttribute() - Method in interface javax.persistence.metamodel.IdentifiableType
Whether the identifiable type has a single id attribute.
hasVersionAttribute() - Method in interface javax.persistence.metamodel.IdentifiableType
Whether the identifiable type has a version attribute.
having(Expression<Boolean>) - Method in interface javax.persistence.criteria.AbstractQuery
Specify a restriction over the groups of the query.
having(Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify a restriction over the groups of the query.
having(Expression<Boolean>) - Method in interface javax.persistence.criteria.Subquery
Specify a restriction over the groups of the subquery.
having(Predicate...) - Method in interface javax.persistence.criteria.AbstractQuery
Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.
having(Predicate...) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates.
having(Predicate...) - Method in interface javax.persistence.criteria.Subquery
Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates.
hints() - Element in annotation interface javax.persistence.NamedNativeQuery
Query properties and hints.
hints() - Element in annotation interface javax.persistence.NamedQuery
(Optional) Query properties and hints.

I

Id - Annotation Interface in javax.persistence
Specifies the primary key of an entity.
IdClass - Annotation Interface in javax.persistence
Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.
IdentifiableType<X> - Interface in javax.persistence.metamodel
Instances of the type IdentifiableType represent entity or mapped superclass types.
IDENTITY - Enum constant in enum class javax.persistence.GenerationType
Indicates that the persistence provider must assign primary keys for the entity using a database identity column.
in(Object...) - Method in interface javax.persistence.criteria.Expression
Create a predicate to test whether the expression is a member of the argument list.
in(Collection<?>) - Method in interface javax.persistence.criteria.Expression
Create a predicate to test whether the expression is a member of the collection.
in(Expression<?>...) - Method in interface javax.persistence.criteria.Expression
Create a predicate to test whether the expression is a member of the argument list.
in(Expression<? extends T>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create predicate to test whether given expression is contained in a list of values.
in(Expression<Collection<?>>) - Method in interface javax.persistence.criteria.Expression
Create a predicate to test whether the expression is a member of the collection.
index() - Method in interface javax.persistence.criteria.ListJoin
Create an expression that corresponds to the index of the object in the referenced association or element collection.
Inheritance - Annotation Interface in javax.persistence
Defines the inheritance strategy to be used for an entity class hierarchy.
InheritanceType - Enum Class in javax.persistence
Defines inheritance strategy options.
InheritanceType() - Constructor for enum class javax.persistence.InheritanceType
 
initialValue() - Element in annotation interface javax.persistence.SequenceGenerator
(Optional) The value from which the sequence object is to start generating.
initialValue() - Element in annotation interface javax.persistence.TableGenerator
(Optional) The initial value to be used to initialize the column that stores the last value generated.
INNER - Enum constant in enum class javax.persistence.criteria.JoinType
Inner join.
insertable() - Element in annotation interface javax.persistence.Column
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
insertable() - Element in annotation interface javax.persistence.JoinColumn
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
insertable() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
insertable() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
insertable() - Element in annotation interface javax.persistence.OrderColumn
(Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
INTEGER - Enum constant in enum class javax.persistence.DiscriminatorType
Integer as the discriminator type.
inverseJoinColumns() - Element in annotation interface 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.
isAscending() - Method in interface javax.persistence.criteria.Order
Whether ascending ordering is in effect.
isAssociation() - Method in interface javax.persistence.metamodel.Attribute
Is the attribute an association.
isBound(Parameter<?>) - Method in interface javax.persistence.Query
Return a boolean indicating whether a value has been bound to the parameter.
isCollection() - Method in interface javax.persistence.metamodel.Attribute
Is the attribute collection-valued (represents a Collection, Set, List, or Map).
isCompoundSelection() - Method in interface javax.persistence.criteria.Selection
Whether the selection item is a compound selection.
isCorrelated() - Method in interface javax.persistence.criteria.From
Whether the From object has been obtained as a result of correlation (use of a Subquery correlate method).
isDistinct() - Method in interface javax.persistence.criteria.AbstractQuery
Return whether duplicate query results must be eliminated or retained.
isEmpty(Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate that tests whether a collection is empty.
isFalse(Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate testing for a false value.
isId() - Method in interface javax.persistence.metamodel.SingularAttribute
Is the attribute an id attribute.
isLoaded(Object) - Method in interface javax.persistence.PersistenceUnitUtil
Determine the load state of an entity belonging to the persistence unit.
isLoaded(Object) - Method in interface javax.persistence.PersistenceUtil
Determine the load state of an entity.
isLoaded(Object) - Method in interface javax.persistence.spi.ProviderUtil
If the provider determines that the entity has been provided by itself and that the state of all attributes for which FetchType.EAGER has been specified have been loaded, this method returns LoadState.LOADED.
isLoaded(Object, String) - Method in interface javax.persistence.PersistenceUnitUtil
Determine the load state of a given persistent attribute of an entity belonging to the persistence unit.
isLoaded(Object, String) - Method in interface javax.persistence.PersistenceUtil
Determine the load state of a given persistent attribute.
isLoadedWithoutReference(Object, String) - Method in interface javax.persistence.spi.ProviderUtil
If the provider determines that the entity has been provided by itself and that the state of the specified attribute has been loaded, this method returns LoadState.LOADED.
isLoadedWithReference(Object, String) - Method in interface javax.persistence.spi.ProviderUtil
If the provider determines that the entity has been provided by itself and that the state of the specified attribute has been loaded, this method returns LoadState.LOADED.
isMember(E, Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate that tests whether an element is a member of a collection.
isMember(Expression<E>, Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate that tests whether an element is a member of a collection.
isNegated() - Method in interface javax.persistence.criteria.Predicate
Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not() method.
isNotEmpty(Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate that tests whether a collection is not empty.
isNotMember(E, Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate that tests whether an element is not a member of a collection.
isNotMember(Expression<E>, Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate that tests whether an element is not a member of a collection.
isNotNull() - Method in interface javax.persistence.criteria.Expression
Create a predicate to test whether the expression is not null.
isNotNull(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate to test whether the expression is not null.
isNull() - Method in interface javax.persistence.criteria.Expression
Create a predicate to test whether the expression is null.
isNull(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate to test whether the expression is null.
isOpen() - Method in interface javax.persistence.EntityManager
Determine whether the entity manager is open.
isOpen() - Method in interface javax.persistence.EntityManagerFactory
Indicates whether the factory is open.
isOptional() - Method in interface javax.persistence.metamodel.SingularAttribute
Can the attribute be null.
isTrue(Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate testing for a true value.
isVersion() - Method in interface javax.persistence.metamodel.SingularAttribute
Is the attribute a version attribute.

J

javax.persistence - package javax.persistence
 
javax.persistence.criteria - package javax.persistence.criteria
 
javax.persistence.metamodel - package javax.persistence.metamodel
 
javax.persistence.spi - package javax.persistence.spi
 
join(String) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified attribute.
join(String, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified attribute using the given join type.
join(CollectionAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified Collection-valued attribute.
join(CollectionAttribute<? super X, Y>, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified Collection-valued attribute using the given join type.
join(ListAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified List-valued attribute.
join(ListAttribute<? super X, Y>, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified List-valued attribute using the given join type.
join(MapAttribute<? super X, K, V>) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified Map-valued attribute.
join(MapAttribute<? super X, K, V>, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified Map-valued attribute using the given join type.
join(SetAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified Set-valued attribute.
join(SetAttribute<? super X, Y>, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified Set-valued attribute using the given join type.
join(SingularAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified single-valued attribute.
join(SingularAttribute<? super X, Y>, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified single-valued attribute using the given join type.
Join<Z,X> - Interface in javax.persistence.criteria
A join to an entity, embeddable, or basic type.
joinCollection(String) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified Collection-valued attribute.
joinCollection(String, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified Collection-valued attribute using the given join type.
JoinColumn - Annotation Interface in javax.persistence
Specifies a column for joining an entity association or element collection.
joinColumns() - Element in annotation interface javax.persistence.AssociationOverride
The join column(s) being mapped to the persistent attribute(s).
joinColumns() - Element in annotation interface javax.persistence.CollectionTable
(Optional) The foreign key columns of the collection table which reference the primary table of the entity.
joinColumns() - Element in annotation interface 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 Interface in javax.persistence
Defines mapping for composite foreign keys.
JOINED - Enum constant in enum class 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.
joinList(String) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified List-valued attribute.
joinList(String, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified List-valued attribute using the given join type.
joinMap(String) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified Map-valued attribute.
joinMap(String, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified Map-valued attribute using the given join type.
joinSet(String) - Method in interface javax.persistence.criteria.From
Create an inner join to the specified Set-valued attribute.
joinSet(String, JoinType) - Method in interface javax.persistence.criteria.From
Create a join to the specified Set-valued attribute using the given join type.
joinTable() - Element in annotation interface javax.persistence.AssociationOverride
The join table that maps the relationship.
JoinTable - Annotation Interface in javax.persistence
Used in the mapping of associations.
joinTransaction() - Method in interface javax.persistence.EntityManager
Indicate to the entity manager that a JTA transaction is active.
JoinType - Enum Class in javax.persistence.criteria
Defines the three types of joins.
JoinType() - Constructor for enum class javax.persistence.criteria.JoinType
 
JTA - Enum constant in enum class javax.persistence.spi.PersistenceUnitTransactionType
JTA entity managers will be created.

K

key() - Method in interface javax.persistence.criteria.MapJoin
Create a path expression that corresponds to the map key.
keys(M) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the keys of a map.

L

LAZY - Enum constant in enum class javax.persistence.FetchType
Defines that data can be lazily fetched.
le(Expression<? extends Number>, Number) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than or equal to the second.
le(Expression<? extends Number>, Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than or equal to the second.
LEADING - Enum constant in enum class javax.persistence.criteria.CriteriaBuilder.Trimspec
Trim from leading end.
least(Expression<X>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression for finding the least of the values (strings, dates, etc).
LEFT - Enum constant in enum class javax.persistence.criteria.JoinType
Left outer join.
length() - Element in annotation interface javax.persistence.Column
(Optional) The column length.
length() - Element in annotation interface javax.persistence.DiscriminatorColumn
(Optional) The column length for String-based discriminator types.
length() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) The column length.
length(Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to return length of a string.
lessThan(Expression<? extends Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than the second.
lessThan(Expression<? extends Y>, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than the second.
lessThanOrEqualTo(Expression<? extends Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than or equal to the second.
lessThanOrEqualTo(Expression<? extends Y>, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than or equal to the second.
like(Expression<String>, String) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression satisfies the given pattern.
like(Expression<String>, String, char) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression satisfies the given pattern.
like(Expression<String>, String, Expression<Character>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression satisfies the given pattern.
like(Expression<String>, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression satisfies the given pattern.
like(Expression<String>, Expression<String>, char) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression satisfies the given pattern.
like(Expression<String>, Expression<String>, Expression<Character>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression satisfies the given pattern.
LIST - Enum constant in enum class javax.persistence.metamodel.PluralAttribute.CollectionType
List-valued attribute
ListAttribute<X,E> - Interface in javax.persistence.metamodel
Instances of the type ListAttribute represent persistent javax.util.List-valued attributes.
ListJoin<Z,E> - Interface in javax.persistence.criteria
The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.List.
literal(T) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for a literal.
LOADED - Enum constant in enum class javax.persistence.spi.LoadState
The state of the element is known to have been loaded.
loadResolverClasses(ClassLoader) - Method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
 
LoadState - Enum Class in javax.persistence.spi
Load states returned by the ProviderUtil SPI methods.
LoadState() - Constructor for enum class javax.persistence.spi.LoadState
 
Lob - Annotation Interface in javax.persistence
Specifies that a persistent property or field should be persisted as a large object to a database-supported large object type.
locate(Expression<String>, String) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to locate the position of one string within another, returning position of first character if found.
locate(Expression<String>, String, int) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to locate the position of one string within another, returning position of first character if found.
locate(Expression<String>, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to locate the position of one string within another, returning position of first character if found.
locate(Expression<String>, Expression<String>, Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to locate the position of one string within another, returning position of first character if found.
lock(Object, LockModeType) - Method in interface javax.persistence.EntityManager
Lock an entity instance that is contained in the persistence context with the specified lock mode type.
lock(Object, LockModeType, Map<String, Object>) - Method in interface javax.persistence.EntityManager
Lock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties.
lockMode() - Element in annotation interface javax.persistence.NamedQuery
(Optional) The lock mode type to use in query execution.
LockModeType - Enum Class in javax.persistence
Lock modes can be specified by means of passing a LockModeType argument to one of the EntityManager methods that take locks (lock, find, or refresh) or to the Query.setLockMode() or TypedQuery.setLockMode() method.
LockModeType() - Constructor for enum class javax.persistence.LockModeType
 
LockTimeoutException - Exception 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 javax.persistence.LockTimeoutException
Constructs a new LockTimeoutException exception with null as its detail message.
LockTimeoutException(Object) - Constructor for exception javax.persistence.LockTimeoutException
Constructs a new LockTimeoutException exception with the specified object.
LockTimeoutException(String) - Constructor for exception javax.persistence.LockTimeoutException
Constructs a new LockTimeoutException exception with the specified detail message.
LockTimeoutException(String, Throwable) - Constructor for exception javax.persistence.LockTimeoutException
Constructs a new LockTimeoutException exception with the specified detail message and cause.
LockTimeoutException(String, Throwable, Object) - Constructor for exception javax.persistence.LockTimeoutException
Constructs a new LockTimeoutException exception with the specified detail message, cause, and entity.
LockTimeoutException(Throwable) - Constructor for exception javax.persistence.LockTimeoutException
Constructs a new LockTimeoutException exception with the specified cause.
lower(Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression for converting a string to lowercase.
lt(Expression<? extends Number>, Number) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than the second.
lt(Expression<? extends Number>, Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the first argument is less than the second.

M

managedType(Class<X>) - Method in interface javax.persistence.metamodel.Metamodel
Return the metamodel managed type representing the entity, mapped superclass, or embeddable class.
ManagedType<X> - Interface in javax.persistence.metamodel
Instances of the type ManagedType represent entity, mapped superclass, and embeddable types.
MANY_TO_MANY - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Many-to-many association
MANY_TO_ONE - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Many-to-one association
ManyToMany - Annotation Interface in javax.persistence
Defines a many-valued association with many-to-many multiplicity.
ManyToOne - Annotation Interface in javax.persistence
Defines a single-valued association to another entity class that has many-to-one multiplicity.
MAP - Enum constant in enum class javax.persistence.metamodel.PluralAttribute.CollectionType
Map-valued attribute
MapAttribute<X,K,V> - Interface in javax.persistence.metamodel
Instances of the type MapAttribute represent persistent java.util.Map-valued attributes.
MapJoin<Z,K,V> - Interface in javax.persistence.criteria
The MapJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Map.
MapKey - Annotation Interface 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 Interface in javax.persistence
Specifies the type of the map key for associations of type java.util.Map.
MapKeyColumn - Annotation Interface in javax.persistence
Specifies the mapping for the key column of a map whose map key is a basic type.
MapKeyEnumerated - Annotation Interface in javax.persistence
Specifies the enum type for a map key whose basic type is an enumerated type.
MapKeyJoinColumn - Annotation Interface in javax.persistence
Specifies a mapping to an entity that is a map key.
MapKeyJoinColumns - Annotation Interface in javax.persistence
Supports composite map keys that reference entities.
MapKeyTemporal - Annotation Interface in javax.persistence
This annotation must be specified for persistent map keys of type Date and Calendar.
MAPPED_SUPERCLASS - Enum constant in enum class javax.persistence.metamodel.Type.PersistenceType
Mapped superclass
mappedBy() - Element in annotation interface javax.persistence.ManyToMany
The field that owns the relationship.
mappedBy() - Element in annotation interface javax.persistence.OneToMany
The field that owns the relationship.
mappedBy() - Element in annotation interface javax.persistence.OneToOne
(Optional) The field that owns the relationship.
MappedSuperclass - Annotation Interface in javax.persistence
Designates a class whose mapping information is applied to the entities that inherit from it.
MappedSuperclassType<X> - Interface in javax.persistence.metamodel
Instances of the type MappedSuperclassType represent mapped superclass types.
MapsId - Annotation Interface in javax.persistence
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.
max(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the numerical max operation.
merge(T) - Method in interface javax.persistence.EntityManager
Merge the state of the given entity into the current persistence context.
MERGE - Enum constant in enum class javax.persistence.CascadeType
Cascade merge operation
Metamodel - Interface in javax.persistence.metamodel
Provides access to the metamodel of persistent entities in the persistence unit.
min(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the numerical min operation.
mod(Integer, Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the modulus of its arguments.
mod(Expression<Integer>, Integer) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the modulus of its arguments.
mod(Expression<Integer>, Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the modulus of its arguments.
multiselect(List<Selection<?>>) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the selection items that are to be returned in the query result.
multiselect(Selection<?>...) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the selection items that are to be returned in the query result.

N

name() - Element in annotation interface 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 interface 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 interface javax.persistence.CollectionTable
(Optional) The name of the collection table.
name() - Element in annotation interface javax.persistence.Column
(Optional) The name of the column.
name() - Element in annotation interface javax.persistence.ColumnResult
(Required) The name of a column in the SELECT clause of a SQL query
name() - Element in annotation interface javax.persistence.DiscriminatorColumn
(Optional) The name of column to be used for the discriminator.
name() - Element in annotation interface javax.persistence.Entity
(Optional) The entity name.
name() - Element in annotation interface javax.persistence.FieldResult
Name of the persistent field or property of the class.
name() - Element in annotation interface javax.persistence.JoinColumn
(Optional) The name of the foreign key column.
name() - Element in annotation interface javax.persistence.JoinTable
(Optional) The name of the join table.
name() - Element in annotation interface 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 interface javax.persistence.MapKeyColumn
(Optional) The name of the map key column.
name() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) The name of the foreign key column for the map key.
name() - Element in annotation interface javax.persistence.NamedNativeQuery
The name used to refer to the query with the EntityManager methods that create query objects.
name() - Element in annotation interface javax.persistence.NamedQuery
(Required) The name used to refer to the query with the EntityManager methods that create query objects.
name() - Element in annotation interface javax.persistence.OrderColumn
(Optional) The name of the ordering column.
name() - Element in annotation interface javax.persistence.PersistenceContext
(Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used.
name() - Element in annotation interface javax.persistence.PersistenceProperty
The name of the property
name() - Element in annotation interface javax.persistence.PersistenceUnit
(Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used.
name() - Element in annotation interface javax.persistence.PrimaryKeyJoinColumn
(Optional) The name of the primary key column of the current table.
name() - Element in annotation interface javax.persistence.QueryHint
Name of the hint.
name() - Element in annotation interface javax.persistence.SecondaryTable
(Required) The name of the table.
name() - Element in annotation interface 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 interface javax.persistence.SqlResultSetMapping
The name given to the result set mapping, and used to refer to it in the methods of the Query API.
name() - Element in annotation interface javax.persistence.Table
(Optional) The name of the table.
name() - Element in annotation interface javax.persistence.TableGenerator
(Required) A unique generator name that can be referenced by one or more classes to be the generator for id values.
name() - Element in annotation interface javax.persistence.UniqueConstraint
(Optional) Constraint name.
NamedNativeQueries - Annotation Interface in javax.persistence
Used to specify multiple native SQL named queries.
NamedNativeQuery - Annotation Interface in javax.persistence
Specifies a named native SQL query.
NamedQueries - Annotation Interface in javax.persistence
Specifies multiple named Java Persistence query language queries.
NamedQuery - Annotation Interface in javax.persistence
Specifies a static, named query in the Java Persistence query language.
neg(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the arithmetic negation of its argument.
nonCommentPattern - Static variable in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
 
NONE - Enum constant in enum class javax.persistence.LockModeType
No lock.
NONE - Enum constant in enum class javax.persistence.SharedCacheMode
Caching is disabled for the persistence unit.
NONE - Enum constant in enum class javax.persistence.ValidationMode
The persistence provider must not perform lifecycle event validation.
NonUniqueResultException - Exception in javax.persistence
Thrown by the persistence provider when Query.getSingleResult() or TypedQuery.getSingleResult() is executed on a query and there is more than one result from the query.
NonUniqueResultException() - Constructor for exception javax.persistence.NonUniqueResultException
Constructs a new NonUniqueResultException exception with null as its detail message.
NonUniqueResultException(String) - Constructor for exception javax.persistence.NonUniqueResultException
Constructs a new NonUniqueResultException exception with the specified detail message.
NoResultException - Exception in javax.persistence
Thrown by the persistence provider when Query.getSingleResult() or TypedQuery.getSingleResult()is executed on a query and there is no result to return.
NoResultException() - Constructor for exception javax.persistence.NoResultException
Constructs a new NoResultException exception with null as its detail message.
NoResultException(String) - Constructor for exception javax.persistence.NoResultException
Constructs a new NoResultException exception with the specified detail message.
NORMAL - Enum constant in enum class javax.persistence.PessimisticLockScope
This value defines the default behavior for pessimistic locking.
not() - Method in interface javax.persistence.criteria.Predicate
Create a negation of the predicate.
not(Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a negation of the given restriction.
NOT_LOADED - Enum constant in enum class javax.persistence.spi.LoadState
The state of the element is known not to have been loaded.
notEqual(Expression<?>, Object) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing the arguments for inequality.
notEqual(Expression<?>, Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing the arguments for inequality.
notLike(Expression<String>, String) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression does not satisfy the given pattern.
notLike(Expression<String>, String, char) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression does not satisfy the given pattern.
notLike(Expression<String>, String, Expression<Character>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression does not satisfy the given pattern.
notLike(Expression<String>, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression does not satisfy the given pattern.
notLike(Expression<String>, Expression<String>, char) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression does not satisfy the given pattern.
notLike(Expression<String>, Expression<String>, Expression<Character>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a predicate for testing whether the expression does not satisfy the given pattern.
nullable() - Element in annotation interface javax.persistence.Column
(Optional) Whether the database column is nullable.
nullable() - Element in annotation interface javax.persistence.JoinColumn
(Optional) Whether the foreign key column is nullable.
nullable() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) Whether the database column is nullable.
nullable() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) Whether the foreign key column is nullable.
nullable() - Element in annotation interface javax.persistence.OrderColumn
(Optional) Whether the database column is nullable.
nullif(Expression<Y>, Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.
nullif(Expression<Y>, Y) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.
nullLiteral(Class<T>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for a null literal with the given type.

O

ONE_TO_MANY - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
One-to-many association
ONE_TO_ONE - Enum constant in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
One-to-one association
OneToMany - Annotation Interface in javax.persistence
Defines a many-valued association with one-to-many multiplicity.
OneToOne - Annotation Interface in javax.persistence
Defines a single-valued association to another entity that has one-to-one multiplicity.
OPTIMISTIC - Enum constant in enum class javax.persistence.LockModeType
Optimistic lock.
OPTIMISTIC_FORCE_INCREMENT - Enum constant in enum class javax.persistence.LockModeType
Optimistic lock, with version update.
OptimisticLockException - Exception in javax.persistence
Thrown by the persistence provider when an optimistic locking conflict occurs.
OptimisticLockException() - Constructor for exception javax.persistence.OptimisticLockException
Constructs a new OptimisticLockException exception with null as its detail message.
OptimisticLockException(Object) - Constructor for exception javax.persistence.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified entity.
OptimisticLockException(String) - Constructor for exception javax.persistence.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified detail message.
OptimisticLockException(String, Throwable) - Constructor for exception javax.persistence.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified detail message and cause.
OptimisticLockException(String, Throwable, Object) - Constructor for exception javax.persistence.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified detail message, cause, and entity.
OptimisticLockException(Throwable) - Constructor for exception javax.persistence.OptimisticLockException
Constructs a new OptimisticLockException exception with the specified cause.
optional() - Element in annotation interface javax.persistence.Basic
(Optional) Defines whether the value of the field or property may be null.
optional() - Element in annotation interface javax.persistence.ManyToOne
(Optional) Whether the association is optional.
optional() - Element in annotation interface javax.persistence.OneToOne
(Optional) Whether the association is optional.
or(Expression<Boolean>, Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a disjunction of the given boolean expressions.
or(Predicate...) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a disjunction of the given restriction predicates.
OR - Enum constant in enum class javax.persistence.criteria.Predicate.BooleanOperator
 
Order - Interface in javax.persistence.criteria
An object that defines an ordering over the query results.
orderBy(List<Order>) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the ordering expressions that are used to order the query results.
orderBy(Order...) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the ordering expressions that are used to order the query results.
OrderBy - Annotation Interface 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 Interface in javax.persistence
Specifies a column that is used to maintain the persistent order of a list.
ORDINAL - Enum constant in enum class javax.persistence.EnumType
Persist enumerated type property or field as an integer.
orphanRemoval() - Element in annotation interface 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 interface 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.
otherwise(Expression<? extends R>) - Method in interface javax.persistence.criteria.CriteriaBuilder.Case
Add an "else" clause to the case expression.
otherwise(Expression<? extends R>) - Method in interface javax.persistence.criteria.CriteriaBuilder.SimpleCase
Add an "else" clause to the case expression.
otherwise(R) - Method in interface javax.persistence.criteria.CriteriaBuilder.Case
Add an "else" clause to the case expression.
otherwise(R) - Method in interface javax.persistence.criteria.CriteriaBuilder.SimpleCase
Add an "else" clause to the case expression.

P

parameter(Class<T>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a parameter expression.
parameter(Class<T>, String) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a parameter expression with the given name.
Parameter<T> - Interface in javax.persistence
Type for query parameter objects.
ParameterExpression<T> - Interface in javax.persistence.criteria
Type of criteria query parameter expressions.
Path<X> - Interface in javax.persistence.criteria
Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression.
persist(Object) - Method in interface javax.persistence.EntityManager
Make an instance managed and persistent.
PERSIST - Enum constant in enum class javax.persistence.CascadeType
Cascade persist operation
Persistence - Class in javax.persistence
Bootstrap class that provides access to an EntityManagerFactory.
Persistence() - Constructor for class javax.persistence.Persistence
 
PERSISTENCE_PROVIDER - Static variable in class javax.persistence.Persistence
Deprecated.
PersistenceContext - Annotation Interface in javax.persistence
Expresses a dependency on a container-managed EntityManager and its associated persistence context.
PersistenceContexts - Annotation Interface in javax.persistence
Declares one or more PersistenceContext annotations.
PersistenceContextType - Enum Class in javax.persistence
Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext.
PersistenceContextType() - Constructor for enum class javax.persistence.PersistenceContextType
 
PersistenceException - Exception in javax.persistence
Thrown by the persistence provider when a problem occurs.
PersistenceException() - Constructor for exception javax.persistence.PersistenceException
Constructs a new PersistenceException exception with null as its detail message.
PersistenceException(String) - Constructor for exception javax.persistence.PersistenceException
Constructs a new PersistenceException exception with the specified detail message.
PersistenceException(String, Throwable) - Constructor for exception javax.persistence.PersistenceException
Constructs a new PersistenceException exception with the specified detail message and cause.
PersistenceException(Throwable) - Constructor for exception javax.persistence.PersistenceException
Constructs a new PersistenceException exception with the specified cause.
PersistenceProperty - Annotation Interface in javax.persistence
Describes a single container or persistence provider property.
PersistenceProvider - Interface in javax.persistence.spi
Interface implemented by the persistence provider.
PersistenceProviderResolver - Interface in javax.persistence.spi
Determine the list of persistence providers available in the runtime environment.
PersistenceProviderResolverHolder - Class in javax.persistence.spi
Holds the global PersistenceProviderResolver instance.
PersistenceProviderResolverHolder() - Constructor for class javax.persistence.spi.PersistenceProviderResolverHolder
 
PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader - Class in javax.persistence.spi
Cache PersistenceProviderResolver per classloader and use the current classloader as a key.
PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver - Class in javax.persistence.spi
Resolve the list of Persistence providers for a given classloader and cache the results.
PersistenceProviderResolverPerClassLoader() - Constructor for class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader
 
PersistenceType() - Constructor for enum class javax.persistence.metamodel.Type.PersistenceType
 
PersistenceUnit - Annotation Interface in javax.persistence
Expresses a dependency on an EntityManagerFactory and its associated persistence unit.
PersistenceUnitInfo - Interface in javax.persistence.spi
Interface implemented by the container and used by the persistence provider when creating an EntityManagerFactory.
PersistenceUnits - Annotation Interface in javax.persistence
Declares one or more PersistenceUnit annotations.
PersistenceUnitTransactionType - Enum Class in javax.persistence.spi
Specifies whether entity managers created by the EntityManagerFactory will be JTA or resource-local entity managers.
PersistenceUnitTransactionType() - Constructor for enum class javax.persistence.spi.PersistenceUnitTransactionType
 
PersistenceUnitUtil - Interface in javax.persistence
Utility interface between the application and the persistence provider managing the persistence unit.
PersistenceUtil - Interface in javax.persistence
Utility interface between the application and the persistence provider(s).
PersistentAttributeType() - Constructor for enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
 
PESSIMISTIC_FORCE_INCREMENT - Enum constant in enum class javax.persistence.LockModeType
Pessimistic write lock, with version update.
PESSIMISTIC_READ - Enum constant in enum class javax.persistence.LockModeType
Pessimistic read lock.
PESSIMISTIC_WRITE - Enum constant in enum class javax.persistence.LockModeType
Pessimistic write lock.
PessimisticLockException - Exception in javax.persistence
Thrown by the persistence provider when an pessimistic locking conflict occurs.
PessimisticLockException() - Constructor for exception javax.persistence.PessimisticLockException
Constructs a new PessimisticLockException exception with null as its detail message.
PessimisticLockException(Object) - Constructor for exception javax.persistence.PessimisticLockException
Constructs a new PessimisticLockException exception with the specified entity.
PessimisticLockException(String) - Constructor for exception javax.persistence.PessimisticLockException
Constructs a new PessimisticLockException exception with the specified detail message.
PessimisticLockException(String, Throwable) - Constructor for exception javax.persistence.PessimisticLockException
Constructs a new PessimisticLockException exception with the specified detail message and cause.
PessimisticLockException(String, Throwable, Object) - Constructor for exception javax.persistence.PessimisticLockException
Constructs a new PessimisticLockException exception with the specified detail message, cause, and entity.
PessimisticLockException(Throwable) - Constructor for exception javax.persistence.PessimisticLockException
Constructs a new PessimisticLockException exception with the specified cause.
PessimisticLockScope - Enum Class in javax.persistence
Defines the values of the javax.persistence.lock.scope property for pessimistic locking.
PessimisticLockScope() - Constructor for enum class javax.persistence.PessimisticLockScope
 
pkColumnName() - Element in annotation interface javax.persistence.TableGenerator
(Optional) Name of the primary key column in the table.
pkColumnValue() - Element in annotation interface javax.persistence.TableGenerator
(Optional) The primary key value in the generator table that distinguishes this set of generated values from others that may be stored in the table.
pkJoinColumns() - Element in annotation interface javax.persistence.SecondaryTable
(Optional) The columns that are used to join with the primary table.
PLURAL_ATTRIBUTE - Enum constant in enum class javax.persistence.metamodel.Bindable.BindableType
Multi-valued attribute type
PluralAttribute<X,C,E> - Interface in javax.persistence.metamodel
Instances of the type PluralAttribute represent persistent collection-valued attributes.
PluralAttribute.CollectionType - Enum Class in javax.persistence.metamodel
 
PluralJoin<Z,C,E> - Interface in javax.persistence.criteria
The PluralJoin interface defines functionality that is common to joins to all collection types.
PostLoad - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
PostPersist - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
PostRemove - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
PostUpdate - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
precision() - Element in annotation interface javax.persistence.Column
(Optional) The precision for a decimal (exact numeric) column.
precision() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) The precision for a decimal (exact numeric) column.
Predicate - Interface in javax.persistence.criteria
The type of a simple or compound predicate: a conjunction or disjunction of restrictions.
Predicate.BooleanOperator - Enum Class in javax.persistence.criteria
 
PrePersist - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
PreRemove - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
PreUpdate - Annotation Interface in javax.persistence
Is used to specify callback methods for the corresponding lifecycle event.
PrimaryKeyJoinColumn - Annotation Interface in javax.persistence
Specifies a primary key column that is used as a foreign key to join to another table.
PrimaryKeyJoinColumns - Annotation Interface in javax.persistence
Groups PrimaryKeyJoinColumn annotations.
prod(Expression<? extends N>, Expression<? extends N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the product of its arguments.
prod(Expression<? extends N>, N) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the product of its arguments.
prod(N, Expression<? extends N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the product of its arguments.
properties() - Element in annotation interface javax.persistence.PersistenceContext
(Optional) Properties for the container or persistence provider.
PROPERTY - Enum constant in enum class javax.persistence.AccessType
Property-based access is used.
providerNamesFromReader(BufferedReader) - Static method in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
 
providers - Static variable in class javax.persistence.Persistence
Deprecated.
ProviderUtil - Interface in javax.persistence.spi
Utility interface implemented by the persistence provider.

Q

query - Variable in exception javax.persistence.QueryTimeoutException
The query object that caused the exception
query() - Element in annotation interface javax.persistence.NamedNativeQuery
The SQL query string.
query() - Element in annotation interface 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 Interface in javax.persistence
Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation.
QueryTimeoutException - Exception in javax.persistence
Thrown by the persistence provider when a query times out and only the statement is rolled back.
QueryTimeoutException() - Constructor for exception javax.persistence.QueryTimeoutException
Constructs a new QueryTimeoutException exception with null as its detail message.
QueryTimeoutException(String) - Constructor for exception javax.persistence.QueryTimeoutException
Constructs a new QueryTimeoutException exception with the specified detail message.
QueryTimeoutException(String, Throwable) - Constructor for exception javax.persistence.QueryTimeoutException
Constructs a new QueryTimeoutException exception with the specified detail message and cause.
QueryTimeoutException(String, Throwable, Query) - Constructor for exception javax.persistence.QueryTimeoutException
Constructs a new QueryTimeoutException exception with the specified detail message, cause, and query.
QueryTimeoutException(Throwable) - Constructor for exception javax.persistence.QueryTimeoutException
Constructs a new QueryTimeoutException exception with the specified cause.
QueryTimeoutException(Query) - Constructor for exception javax.persistence.QueryTimeoutException
Constructs a new QueryTimeoutException exception with the specified query.
quot(Number, Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the quotient of its arguments.
quot(Expression<? extends Number>, Number) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the quotient of its arguments.
quot(Expression<? extends Number>, Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the quotient of its arguments.

R

READ - Enum constant in enum class javax.persistence.LockModeType
Synonymous with OPTIMISTIC.
referencedColumnName() - Element in annotation interface javax.persistence.JoinColumn
(Optional) The name of the column referenced by this foreign key column.
referencedColumnName() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) The name of the column referenced by this foreign key column.
referencedColumnName() - Element in annotation interface javax.persistence.PrimaryKeyJoinColumn
(Optional) The name of the primary key column of the table being joined to.
refresh(Object) - Method in interface javax.persistence.EntityManager
Refresh the state of the instance from the database, overwriting changes made to the entity, if any.
refresh(Object, Map<String, Object>) - Method in interface javax.persistence.EntityManager
Refresh the state of the instance from the database, using the specified properties, and overwriting changes made to the entity, if any.
refresh(Object, LockModeType) - Method in interface javax.persistence.EntityManager
Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type.
refresh(Object, LockModeType, Map<String, Object>) - Method in interface javax.persistence.EntityManager
Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type and with specified properties.
REFRESH - Enum constant in enum class javax.persistence.CacheStoreMode
Insert/update entity data into cache when read from database and when committed into database.
REFRESH - Enum constant in enum class javax.persistence.CascadeType
Cascade refresh operation
remove(Object) - Method in interface javax.persistence.EntityManager
Remove the entity instance.
REMOVE - Enum constant in enum class javax.persistence.CascadeType
Cascade remove operation
RESOLVER - Static variable in class javax.persistence.spi.PersistenceProviderResolverHolder
 
resolverClasses - Variable in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader.CachingPersistenceProviderResolver
 
resolvers - Variable in class javax.persistence.spi.PersistenceProviderResolverHolder.PersistenceProviderResolverPerClassLoader
 
RESOURCE_LOCAL - Enum constant in enum class javax.persistence.spi.PersistenceUnitTransactionType
Resource-local entity managers will be created.
resultClass() - Element in annotation interface javax.persistence.NamedNativeQuery
The class of the result.
resultSetMapping() - Element in annotation interface javax.persistence.NamedNativeQuery
The name of a SqlResultSetMapping, as defined in metadata.
reverse() - Method in interface javax.persistence.criteria.Order
Switch the ordering.
RIGHT - Enum constant in enum class javax.persistence.criteria.JoinType
Right outer join.
rollback() - Method in interface javax.persistence.EntityTransaction
Roll back the current resource transaction.
RollbackException - Exception in javax.persistence
Thrown by the persistence provider when EntityTransaction.commit() fails.
RollbackException() - Constructor for exception javax.persistence.RollbackException
Constructs a new RollbackException exception with null as its detail message.
RollbackException(String) - Constructor for exception javax.persistence.RollbackException
Constructs a new RollbackException exception with the specified detail message.
RollbackException(String, Throwable) - Constructor for exception javax.persistence.RollbackException
Constructs a new RollbackException exception with the specified detail message and cause.
RollbackException(Throwable) - Constructor for exception javax.persistence.RollbackException
Constructs a new RollbackException exception with the specified cause.
Root<X> - Interface in javax.persistence.criteria
A root type in the from clause.

S

scale() - Element in annotation interface javax.persistence.Column
(Optional) The scale for a decimal (exact numeric) column.
scale() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) The scale for a decimal (exact numeric) column.
schema() - Element in annotation interface javax.persistence.CollectionTable
(Optional) The schema of the table.
schema() - Element in annotation interface javax.persistence.JoinTable
(Optional) The schema of the table.
schema() - Element in annotation interface javax.persistence.SecondaryTable
(Optional) The schema of the table.
schema() - Element in annotation interface javax.persistence.SequenceGenerator
(Optional) The schema of the sequence generator.
schema() - Element in annotation interface javax.persistence.Table
(Optional) The schema of the table.
schema() - Element in annotation interface javax.persistence.TableGenerator
(Optional) The schema of the table.
SecondaryTable - Annotation Interface in javax.persistence
Specifies a secondary table for the annotated entity class.
SecondaryTables - Annotation Interface in javax.persistence
Specifies multiple secondary tables for an entity.
select(Expression<T>) - Method in interface javax.persistence.criteria.Subquery
Specify the item that is to be returned as the subquery result.
select(Selection<? extends T>) - Method in interface javax.persistence.criteria.CriteriaQuery
Specify the item that is to be returned in the query result.
selectCase() - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a general case expression.
selectCase(Expression<? extends C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a simple case expression.
Selection<X> - Interface in javax.persistence.criteria
The Selection interface defines an item that is to be returned in a query result.
SEQUENCE - Enum constant in enum class javax.persistence.GenerationType
Indicates that the persistence provider must assign primary keys for the entity using a database sequence.
SequenceGenerator - Annotation Interface 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 interface javax.persistence.SequenceGenerator
(Optional) The name of the database sequence object from which to obtain primary key values.
SET - Enum constant in enum class javax.persistence.metamodel.PluralAttribute.CollectionType
Set-valued attribute
SetAttribute<X,E> - Interface in javax.persistence.metamodel
Instances of the type SetAttribute represent persistent java.util.Set-valued attributes.
setFirstResult(int) - Method in interface javax.persistence.Query
Set the position of the first result to retrieve.
setFirstResult(int) - Method in interface javax.persistence.TypedQuery
Set the position of the first result to retrieve.
setFlushMode(FlushModeType) - Method in interface javax.persistence.EntityManager
Set the flush mode that applies to all objects contained in the persistence context.
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.TypedQuery
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.TypedQuery
Set a query property or hint.
SetJoin<Z,E> - Interface in javax.persistence.criteria
The SetJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Set.
setLockMode(LockModeType) - Method in interface javax.persistence.Query
Set the lock mode type to be used for the query execution.
setLockMode(LockModeType) - Method in interface javax.persistence.TypedQuery
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.
setMaxResults(int) - Method in interface javax.persistence.TypedQuery
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.TypedQuery
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.TypedQuery
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.TypedQuery
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.TypedQuery
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.TypedQuery
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.TypedQuery
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 a Parameter object.
setParameter(Parameter<Calendar>, Calendar, TemporalType) - Method in interface javax.persistence.TypedQuery
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 a Parameter object.
setParameter(Parameter<Date>, Date, TemporalType) - Method in interface javax.persistence.TypedQuery
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.TypedQuery
Bind the value of a Parameter object.
setPersistenceProviderResolver(PersistenceProviderResolver) - Static method in class javax.persistence.spi.PersistenceProviderResolverHolder
Defines the persistence provider resolver used.
setProperty(String, Object) - Method in interface javax.persistence.EntityManager
Set an entity manager property or hint.
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.
SharedCacheMode - Enum Class in javax.persistence
Specifies how the provider must use a second-level cache for the persistence unit.
SharedCacheMode() - Constructor for enum class javax.persistence.SharedCacheMode
 
SINGLE_TABLE - Enum constant in enum class javax.persistence.InheritanceType
A single table per class hierarchy.
SINGULAR_ATTRIBUTE - Enum constant in enum class javax.persistence.metamodel.Bindable.BindableType
Single-valued attribute type
SingularAttribute<X,T> - Interface in javax.persistence.metamodel
Instances of the type SingularAttribute represents persistent single-valued properties or fields.
size(C) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that tests the size of a collection.
size(Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that tests the size of a collection.
some(Subquery<Y>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a some expression over the subquery results.
SqlResultSetMapping - Annotation Interface in javax.persistence
Specifies the mapping of the result of a native SQL query.
SqlResultSetMappings - Annotation Interface in javax.persistence
Is used to define one or more SqlResultSetMapping annotations.
sqrt(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the square root of its argument.
StaticMetamodel - Annotation Interface in javax.persistence.metamodel
The StaticMetamodel annotation specifies that the class is a metamodel class that represents the entity, mapped superclass, or embeddable class designated by the value element.
strategy() - Element in annotation interface 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 interface javax.persistence.Inheritance
The strategy to be used for the entity inheritance hierarchy.
STRING - Enum constant in enum class javax.persistence.DiscriminatorType
String as the discriminator type.
STRING - Enum constant in enum class javax.persistence.EnumType
Persist enumerated type property or field as a string.
subquery(Class<U>) - Method in interface javax.persistence.criteria.AbstractQuery
Create a subquery of the query.
Subquery<T> - Interface in javax.persistence.criteria
The Subquery interface defines functionality that is specific to subqueries.
substring(Expression<String>, int) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for substring extraction.
substring(Expression<String>, int, int) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for substring extraction.
substring(Expression<String>, Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for substring extraction.
substring(Expression<String>, Expression<Integer>, Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression for substring extraction.
sum(Expression<? extends N>, Expression<? extends N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the sum of its arguments.
sum(Expression<? extends N>, N) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the sum of its arguments.
sum(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the sum operation.
sum(N, Expression<? extends N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the sum of its arguments.
sumAsDouble(Expression<Float>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the sum operation to a Float-valued expression, returning a Double result.
sumAsLong(Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an aggregate expression applying the sum operation to an Integer-valued expression, returning a Long result.

T

table() - Element in annotation interface javax.persistence.Column
(Optional) The name of the table that contains the column.
table() - Element in annotation interface javax.persistence.JoinColumn
(Optional) The name of the table that contains the column.
table() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) The name of the table that contains the column.
table() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) The name of the table that contains the foreign key column.
table() - Element in annotation interface javax.persistence.TableGenerator
(Optional) Name of table that stores the generated id values.
Table - Annotation Interface in javax.persistence
Specifies the primary table for the annotated entity.
TABLE - Enum constant in enum class javax.persistence.GenerationType
Indicates that the persistence provider must assign primary keys for the entity using an underlying database table to ensure uniqueness.
TABLE_PER_CLASS - Enum constant in enum class javax.persistence.InheritanceType
A table per concrete entity class.
TableGenerator - Annotation Interface in javax.persistence
Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.
targetClass() - Element in annotation interface javax.persistence.ElementCollection
(Optional) The basic or embeddable class that is the element type of the collection.
targetEntity() - Element in annotation interface javax.persistence.ManyToMany
(Optional) The entity class that is the target of the association.
targetEntity() - Element in annotation interface javax.persistence.ManyToOne
(Optional) The entity class that is the target of the association.
targetEntity() - Element in annotation interface javax.persistence.OneToMany
(Optional) The entity class that is the target of the association.
targetEntity() - Element in annotation interface javax.persistence.OneToOne
(Optional) The entity class that is the target of the association.
Temporal - Annotation Interface in javax.persistence
This annotation must be specified for persistent fields or properties of type java.util.Date and java.util.Calendar.
TemporalType - Enum Class in javax.persistence
Type used to indicate a specific mapping of java.util.Date or java.util.Calendar.
TemporalType() - Constructor for enum class javax.persistence.TemporalType
 
TIME - Enum constant in enum class javax.persistence.TemporalType
Map as java.sql.Time
TIMESTAMP - Enum constant in enum class javax.persistence.TemporalType
Map as java.sql.Timestamp
toArray() - Method in interface javax.persistence.Tuple
Return the values of the result tuple elements as an array.
toBigDecimal(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
toBigInteger(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
toDouble(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
toFloat(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
toInteger(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
toLong(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
toString(Expression<Character>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Typecast.
TRAILING - Enum constant in enum class javax.persistence.criteria.CriteriaBuilder.Trimspec
Trim from trailing end.
TRANSACTION - Enum constant in enum class javax.persistence.PersistenceContextType
Transaction-scoped persistence context
TransactionRequiredException - Exception in javax.persistence
Thrown by the persistence provider when a transaction is required but is not active.
TransactionRequiredException() - Constructor for exception javax.persistence.TransactionRequiredException
Constructs a new TransactionRequiredException exception with null as its detail message.
TransactionRequiredException(String) - Constructor for exception javax.persistence.TransactionRequiredException
Constructs a new TransactionRequiredException exception with the specified detail message.
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in interface javax.persistence.spi.ClassTransformer
Invoked when a class is being loaded or redefined.
Transient - Annotation Interface in javax.persistence
Specifies that the property or field is not persistent.
trim(char, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to trim character from both ends of a string.
trim(CriteriaBuilder.Trimspec, char, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to trim character from a string.
trim(CriteriaBuilder.Trimspec, Expression<Character>, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to trim character from a string.
trim(CriteriaBuilder.Trimspec, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to trim blanks from a string.
trim(Expression<Character>, Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to trim character from both ends of a string.
trim(Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression to trim blanks from both ends of a string.
Trimspec() - Constructor for enum class javax.persistence.criteria.CriteriaBuilder.Trimspec
 
tuple(Selection<?>...) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create a tuple-valued selection item.
Tuple - Interface in javax.persistence
Interface for extracting the elements of a query result tuple.
TupleElement<X> - Interface in javax.persistence
The TupleElement interface defines an element that is returned in a query result tuple.
type() - Method in interface javax.persistence.criteria.Path
Create an expression corresponding to the type of the path.
type() - Element in annotation interface javax.persistence.PersistenceContext
(Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used.
Type<X> - Interface in javax.persistence.metamodel
Instances of the type Type represent persistent object or attribute types.
Type.PersistenceType - Enum Class in javax.persistence.metamodel
 
TypedQuery<X> - Interface in javax.persistence
Interface used to control the execution of typed queries.

U

unique() - Element in annotation interface javax.persistence.Column
(Optional) Whether the column is a unique key.
unique() - Element in annotation interface javax.persistence.JoinColumn
(Optional) Whether the property is a unique key.
unique() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) Whether the column is a unique key.
unique() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) Whether the property is a unique key.
UniqueConstraint - Annotation Interface 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 interface javax.persistence.CollectionTable
(Optional) Unique constraints that are to be placed on the table.
uniqueConstraints() - Element in annotation interface javax.persistence.JoinTable
(Optional) Unique constraints that are to be placed on the table.
uniqueConstraints() - Element in annotation interface javax.persistence.SecondaryTable
(Optional) Unique constraints that are to be placed on the table.
uniqueConstraints() - Element in annotation interface javax.persistence.Table
(Optional) Unique constraints that are to be placed on the table.
uniqueConstraints() - Element in annotation interface javax.persistence.TableGenerator
(Optional) Unique constraints that are to be placed on the table.
unitName() - Element in annotation interface javax.persistence.PersistenceContext
(Optional) The name of the persistence unit as defined in the persistence.xml file.
unitName() - Element in annotation interface javax.persistence.PersistenceUnit
(Optional) The name of the persistence unit as defined in the persistence.xml file.
UNKNOWN - Enum constant in enum class javax.persistence.spi.LoadState
The load state of the element cannot be determined.
UNSPECIFIED - Enum constant in enum class javax.persistence.SharedCacheMode
Caching behavior is undefined: provider-specific defaults may apply.
unwrap(Class<T>) - Method in interface javax.persistence.EntityManager
Return an object of the specified type to allow access to the provider-specific API.
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 interface javax.persistence.Column
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
updatable() - Element in annotation interface javax.persistence.JoinColumn
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
updatable() - Element in annotation interface javax.persistence.MapKeyColumn
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
updatable() - Element in annotation interface javax.persistence.MapKeyJoinColumn
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
updatable() - Element in annotation interface javax.persistence.OrderColumn
(Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
upper(Expression<String>) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create expression for converting a string to uppercase.
USE - Enum constant in enum class javax.persistence.CacheRetrieveMode
Read entity data from the cache: this is the default behavior.
USE - Enum constant in enum class javax.persistence.CacheStoreMode
Insert/update entity data into cache when read from database and when committed into database: this is the default behavior.
util - Static variable in class javax.persistence.Persistence
 

V

ValidationMode - Enum Class in javax.persistence
The validation mode to be used by the provider for the persistence unit.
ValidationMode() - Constructor for enum class javax.persistence.ValidationMode
 
value() - Element in annotation interface javax.persistence.Access
(Required) Specification of field- or property-based access.
value() - Element in annotation interface javax.persistence.AssociationOverrides
(Required) The association override mappings that are to be applied to the relationship field or property .
value() - Element in annotation interface javax.persistence.AttributeOverrides
(Required) One or more field or property mapping overrides.
value() - Element in annotation interface javax.persistence.Cacheable
(Optional) Whether or not the entity should be cached.
value() - Method in interface javax.persistence.criteria.MapJoin
Create a path expression that corresponds to the map value.
value() - Element in annotation interface javax.persistence.DiscriminatorValue
(Optional) The value that indicates that the row is an entity of the annotated entity type.
value() - Element in annotation interface javax.persistence.EntityListeners
The callback listener classes
value() - Element in annotation interface javax.persistence.Enumerated
(Optional) The type used in mapping an enum type.
value() - Element in annotation interface javax.persistence.IdClass
Primary key class
value() - Element in annotation interface javax.persistence.JoinColumns
The join columns that map the relationship.
value() - Element in annotation interface javax.persistence.MapKeyClass
(Required) The type of the map key.
value() - Element in annotation interface javax.persistence.MapKeyEnumerated
(Optional) The type used in mapping a map key enum type.
value() - Element in annotation interface 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 interface javax.persistence.MapKeyTemporal
(Required) The type used in mapping java.util.Date or java.util.Calendar.
value() - Element in annotation interface javax.persistence.MapsId
(Optional) The name of the attribute within the composite key to which the relationship attribute corresponds.
value() - Element in annotation interface javax.persistence.metamodel.StaticMetamodel
Class being modeled by the annotated class.
value() - Element in annotation interface javax.persistence.NamedNativeQueries
(Required) Array of NamedNativeQuery annotations.
value() - Element in annotation interface javax.persistence.NamedQueries
(Required) An array of NamedQuery annotations.
value() - Element in annotation interface javax.persistence.OrderBy
An orderby_list.
value() - Element in annotation interface javax.persistence.PersistenceContexts
(Required) One or more PersistenceContext annotations.
value() - Element in annotation interface javax.persistence.PersistenceProperty
The value of the property
value() - Element in annotation interface javax.persistence.PersistenceUnits
(Required) One or more PersistenceUnit annotations.
value() - Element in annotation interface javax.persistence.PrimaryKeyJoinColumns
One or more PrimaryKeyJoinColumn annotations.
value() - Element in annotation interface javax.persistence.QueryHint
Value of the hint.
value() - Element in annotation interface javax.persistence.SecondaryTables
(Required) The secondary tables for an entity.
value() - Element in annotation interface javax.persistence.SqlResultSetMappings
One or more SqlResultSetMapping annotations.
value() - Element in annotation interface javax.persistence.Temporal
The type used in mapping java.util.Date or java.util.Calendar.
value(Expression<? extends T>) - Method in interface javax.persistence.criteria.CriteriaBuilder.Coalesce
Add an argument to the coalesce expression.
value(Expression<? extends T>) - Method in interface javax.persistence.criteria.CriteriaBuilder.In
Add to list of values to be tested against.
value(T) - Method in interface javax.persistence.criteria.CriteriaBuilder.Coalesce
Add an argument to the coalesce expression.
value(T) - Method in interface javax.persistence.criteria.CriteriaBuilder.In
Add to list of values to be tested against.
valueColumnName() - Element in annotation interface javax.persistence.TableGenerator
(Optional) Name of the column that stores the last value generated.
valueOf(String) - Static method in enum class javax.persistence.AccessType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.CacheRetrieveMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.CacheStoreMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.CascadeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.criteria.CriteriaBuilder.Trimspec
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.criteria.JoinType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.criteria.Predicate.BooleanOperator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.DiscriminatorType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.EnumType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.FetchType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.FlushModeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.GenerationType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.InheritanceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.LockModeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.metamodel.Bindable.BindableType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.metamodel.PluralAttribute.CollectionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.metamodel.Type.PersistenceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.PersistenceContextType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.PessimisticLockScope
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.SharedCacheMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.spi.LoadState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.spi.PersistenceUnitTransactionType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.TemporalType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javax.persistence.ValidationMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class javax.persistence.AccessType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.CacheRetrieveMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.CacheStoreMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.CascadeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.criteria.CriteriaBuilder.Trimspec
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.criteria.JoinType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.criteria.Predicate.BooleanOperator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.DiscriminatorType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.EnumType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.FetchType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.FlushModeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.GenerationType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.InheritanceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.LockModeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.metamodel.Attribute.PersistentAttributeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.metamodel.Bindable.BindableType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.metamodel.PluralAttribute.CollectionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.metamodel.Type.PersistenceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.PersistenceContextType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.PessimisticLockScope
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.SharedCacheMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.spi.LoadState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.spi.PersistenceUnitTransactionType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.TemporalType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javax.persistence.ValidationMode
Returns an array containing the constants of this enum class, in the order they are declared.
values(M) - Method in interface javax.persistence.criteria.CriteriaBuilder
Create an expression that returns the values of a map.
Version - Annotation Interface in javax.persistence
Specifies the version field or property of an entity class that serves as its optimistic lock value.

W

when(C, Expression<? extends R>) - Method in interface javax.persistence.criteria.CriteriaBuilder.SimpleCase
Add a when/then clause to the case expression.
when(C, R) - Method in interface javax.persistence.criteria.CriteriaBuilder.SimpleCase
Add a when/then clause to the case expression.
when(Expression<Boolean>, Expression<? extends R>) - Method in interface javax.persistence.criteria.CriteriaBuilder.Case
Add a when/then clause to the case expression.
when(Expression<Boolean>, R) - Method in interface javax.persistence.criteria.CriteriaBuilder.Case
Add a when/then clause to the case expression.
where(Expression<Boolean>) - Method in interface javax.persistence.criteria.AbstractQuery
Modify the query to restrict the query results according to the specified boolean expression.
where(Expression<Boolean>) - Method in interface javax.persistence.criteria.CriteriaQuery
Modify the query to restrict the query result according to the specified boolean expression.
where(Expression<Boolean>) - Method in interface javax.persistence.criteria.Subquery
Modify the subquery to restrict the result according to the specified boolean expression.
where(Predicate...) - Method in interface javax.persistence.criteria.AbstractQuery
Modify the query to restrict the query results according to the conjunction of the specified restriction predicates.
where(Predicate...) - Method in interface javax.persistence.criteria.CriteriaQuery
Modify the query to restrict the query result according to the conjunction of the specified restriction predicates.
where(Predicate...) - Method in interface javax.persistence.criteria.Subquery
Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates.
WRITE - Enum constant in enum class javax.persistence.LockModeType
Synonymous with OPTIMISTIC_FORCE_INCREMENT.
A B C D E F G H I J K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form