- Cache - Interface in javax.persistence
-
Interface used to interact with the second-level cache.
- Cacheable - Annotation Type 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 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.
- CacheStoreMode - Enum 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.
- CascadeType - Enum in javax.persistence
-
Defines the set of cascadable operations that are propagated
to the associated entity.
- ClassTransformer - Interface in javax.persistence.spi
-
- 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.
- 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(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.
- coalesce() - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a coalesce expression.
- 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 Type in javax.persistence
-
Specifies the table that is used for the mapping of
collections of basic or embeddable types.
- Column - Annotation Type in javax.persistence
-
Is used to specify the mapped column for a persistent property or field.
- ColumnResult - Annotation Type in javax.persistence
-
References name of a column in the SELECT clause of a SQL query -
i.e., column alias, if applicable.
- commit() - Method in interface javax.persistence.EntityTransaction
-
Commit the current resource transaction, writing any
unflushed changes to the database.
- CommonAbstractCriteria - Interface in javax.persistence.criteria
-
The CommonAbstractCriteria
interface defines functionality
that is common to both top-level criteria queries and subqueries as
well as to update and delete criteria operations.
- CompoundSelection<X> - Interface in javax.persistence.criteria
-
The CompoundSelection
interface defines a compound selection item
(tuple, array, or result of constructor).
- concat(Expression<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(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.
- ConstructorResult - Annotation Type in javax.persistence
-
Used in conjunction with the
SqlResultSetMapping
annotation to map
the SELECT clause of a SQL query 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.
- Convert - Annotation Type in javax.persistence
-
The Convert annotation is used to specify the conversion of a Basic field or
property.
- Converter - Annotation Type in javax.persistence
-
- Converts - Annotation Type in javax.persistence
-
The Converts annotation is used to group Convert annotations.
- convertToDatabaseColumn(X) - Method in interface javax.persistence.AttributeConverter
-
Converts the value stored in the entity attribute into the
data representation to be stored in the database.
- convertToEntityAttribute(Y) - Method in interface javax.persistence.AttributeConverter
-
Converts the data stored in the database column into the
value to be stored in the entity attribute.
- correlate(Root<Y>) - Method in interface javax.persistence.criteria.Subquery
-
Create a subquery root correlated to a root 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(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(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.
- 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.
- 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.
- createCriteriaDelete(Class<T>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a query object to perform a bulk delete operation.
- createCriteriaUpdate(Class<T>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a query object to perform a bulk update operation.
- createEntityGraph(Class<T>) - Method in interface javax.persistence.EntityManager
-
Return a mutable EntityGraph that can be used to dynamically create an EntityGraph.
- createEntityGraph(String) - Method in interface javax.persistence.EntityManager
-
Return a mutable copy of the named EntityGraph.
- 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.
- createEntityManager(SynchronizationType, Map) - Method in interface javax.persistence.EntityManagerFactory
-
Create a new JTA application-managed EntityManager with the specified synchronization type and 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.
- createNamedStoredProcedureQuery(String) - Method in interface javax.persistence.EntityManager
-
Create an instance of StoredProcedureQuery for executing a
stored procedure in the database.
- 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(CriteriaQuery<T>) - Method in interface javax.persistence.EntityManager
-
Create an instance of TypedQuery
for executing a
criteria query.
- createQuery(CriteriaUpdate) - Method in interface javax.persistence.EntityManager
-
Create an instance of Query for executing a criteria
update query.
- createQuery(CriteriaDelete) - Method in interface javax.persistence.EntityManager
-
Create an instance of Query for executing a criteria
delete query.
- createQuery(String, Class<T>) - Method in interface javax.persistence.EntityManager
-
Create an instance of TypedQuery
for executing a
Java Persistence query language statement.
- createStoredProcedureQuery(String) - Method in interface javax.persistence.EntityManager
-
Create an instance of StoredProcedureQuery for executing a
stored procedure in the database.
- createStoredProcedureQuery(String, Class...) - Method in interface javax.persistence.EntityManager
-
Create an instance of StoredProcedureQuery for executing a
stored procedure in the database.
- createStoredProcedureQuery(String, String...) - Method in interface javax.persistence.EntityManager
-
Create an instance of StoredProcedureQuery for executing a
stored procedure in the database.
- 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 in javax.persistence.criteria
-
Used to specify how strings are trimmed.
- CriteriaDelete<T> - Interface in javax.persistence.criteria
-
The CriteriaDelete interface defines functionality for performing
bulk delete operations using the Criteria API
Criteria API bulk delete operations map directly to database
delete operations.
- CriteriaQuery<T> - Interface in javax.persistence.criteria
-
The CriteriaQuery
interface defines functionality that is specific
to top-level queries.
- CriteriaUpdate<T> - Interface in javax.persistence.criteria
-
The CriteriaUpdate interface defines functionality for performing
bulk update operations using the Criteria API.
- 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.
- 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.
- 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.
- GeneratedValue - Annotation Type in javax.persistence
-
Provides for the specification of generation strategies for the
values of primary keys.
- generateSchema(String, Map) - Static method in class javax.persistence.Persistence
-
Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties
Called when schema generation is to occur as a separate phase from creation of the entity manager factory.
- generateSchema(PersistenceUnitInfo, Map) - Method in interface javax.persistence.spi.PersistenceProvider
-
Create database schemas and/or tables and/or create DDL
scripts as determined by the supplied properties.
- generateSchema(String, Map) - Method in interface javax.persistence.spi.PersistenceProvider
-
Create database schemas and/or tables and/or create DDL
scripts as determined by the supplied properties.
- GenerationType - Enum in javax.persistence
-
Defines the types of primary key generation strategies.
- get(SingularAttribute<? super X, Y>) - Method in interface javax.persistence.criteria.Path
-
Create a path corresponding to the referenced
single-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(MapAttribute<X, K, V>) - Method in interface javax.persistence.criteria.Path
-
Create a path corresponding to the referenced
map-valued attribute.
- get(String) - Method in interface javax.persistence.criteria.Path
-
Create a path corresponding to the referenced attribute.
- get(TupleElement<X>) - Method in interface javax.persistence.Tuple
-
Get the value of the specified tuple element.
- 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(String) - Method in interface javax.persistence.Tuple
-
Get the value of the tuple element to which the
specified alias has been assigned.
- 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(int) - Method in interface javax.persistence.Tuple
-
Get the value of the element at the specified
position in the result tuple.
- 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.
- getAttributeName() - Method in interface javax.persistence.AttributeNode
-
Return the name of the attribute corresponding to the
attribute node.
- getAttributeNodes() - Method in interface javax.persistence.EntityGraph
-
Return the attribute nodes of this entity that are included
in the entity graph.
- getAttributeNodes() - Method in interface javax.persistence.Subgraph
-
Return the attribute nodes corresponding to the attributes of
this managed type that are included in the subgraph.
- 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.
- getClassType() - Method in interface javax.persistence.Subgraph
-
Return the type of for which this subgraph was defined.
- 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.
- getCollection(String) - Method in interface javax.persistence.metamodel.ManagedType
-
Return the Collection-valued attribute of the managed type
that corresponds to the specified name.
- 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.
- getContainingQuery() - Method in interface javax.persistence.criteria.Subquery
-
Return the query (which may be a CriteriaQuery, CriteriaUpdate, CriteriaDelete, or a Subquery) of which this
is a subquery.
- 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, 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.
- 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.
- 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, 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.
- 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.
- 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.
- 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.
- 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, 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.
- 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.
- 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.
- 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.
- 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.
- getEntityGraph(String) - Method in interface javax.persistence.EntityManager
-
Return a named EntityGraph.
- getEntityGraphs(Class<T>) - Method in interface javax.persistence.EntityManager
-
Return all named EntityGraphs that have been defined for the provided class type.
- 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, 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.
- getList(String) - Method in interface javax.persistence.metamodel.ManagedType
-
Return the List-valued attribute of the managed type that
corresponds to the specified name.
- getLockMode(Object) - Method in interface javax.persistence.EntityManager
-
Get the current lock mode for the entity instance.
- getLockMode() - Method in interface javax.persistence.Query
-
Get the current lock mode for the query.
- 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, 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.
- getMap(String) - Method in interface javax.persistence.metamodel.ManagedType
-
Return the Map-valued attribute of the managed type that
corresponds to the specified name.
- 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.EntityGraph
-
Return the name of a named EntityGraph (an entity graph
defined by means of the NamedEntityGraph annotation,
XML descriptor element, or added by means of the
addNamedEntityGraph method.
- 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.
- getOn() - Method in interface javax.persistence.criteria.Join
-
Return the predicate that corresponds to the ON
restriction(s) on the join, or null if no ON condition
has been specified.
- 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.
- getOutputParameterValue(int) - Method in interface javax.persistence.StoredProcedureQuery
-
Retrieve a value passed back from the procedure through an
INOUT or OUT parameter.
- getOutputParameterValue(String) - Method in interface javax.persistence.StoredProcedureQuery
-
Retrieve a value passed back from the procedure through an
INOUT or OUT parameter.
- getParameter(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.
- 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.
- 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(Parameter<T>) - Method in interface javax.persistence.Query
-
Return the value bound to the parameter.
- getParameterValue(String) - Method in interface javax.persistence.Query
-
Return the value bound to the named parameter.
- getParameterValue(int) - Method in interface javax.persistence.Query
-
Return the value bound to the positional 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 (which must be a CriteriaQuery or a Subquery) 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.
- 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.
- 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.CommonAbstractCriteria
-
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.
- getRoot() - Method in interface javax.persistence.criteria.CriteriaDelete
-
Return the query root.
- getRoot() - Method in interface javax.persistence.criteria.CriteriaUpdate
-
Return the query root.
- 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, 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.
- getSet(String) - Method in interface javax.persistence.metamodel.ManagedType
-
Return the Set-valued attribute of the managed type that
corresponds to the specified name.
- 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, 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.
- getSingularAttribute(String) - Method in interface javax.persistence.metamodel.ManagedType
-
Return the single-valued attribute of the managed type that
corresponds to the specified name.
- 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.AttributeNode
-
Return the Type of the attribute node.
- getType() - Method in interface javax.persistence.metamodel.SingularAttribute
-
Return the type that represents the type of the attribute.
- getUpdateCount() - Method in interface javax.persistence.StoredProcedureQuery
-
Return the update count or -1 if there is no pending result
or if the next result is not an update count.
- 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(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.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(List<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.
- groupBy(List<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>, Expression<? extends 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>, Number) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a predicate for testing whether the first argument is
greater than the second.
- Id - Annotation Type in javax.persistence
-
Specifies the primary key of an entity.
- IdClass - Annotation Type in javax.persistence
-
Specifies a composite primary key class that is mapped to
multiple fields or properties of the entity.
- IdentifiableType<X> - Interface in javax.persistence.metamodel
-
Instances of the type IdentifiableType
represent entity or
mapped superclass types.
- 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(Object...) - Method in interface javax.persistence.criteria.Expression
-
Create a predicate to test whether the expression is a member
of the argument list.
- 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(Collection<?>) - Method in interface javax.persistence.criteria.Expression
-
Create a predicate to test whether the expression is a member
of the collection.
- 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.
- Index - Annotation Type in javax.persistence
-
The Index annotation is used in schema generation.
- Inheritance - Annotation Type in javax.persistence
-
Defines the inheritance strategy to be used for an entity class
hierarchy.
- InheritanceType - Enum in javax.persistence
-
Defines inheritance strategy options.
- 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.
- isJoinedToTransaction() - Method in interface javax.persistence.EntityManager
-
Determine whether the entity manager is joined to the
current transaction.
- 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) - Method in interface javax.persistence.PersistenceUnitUtil
-
Determine the load state 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.
- 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
.
- 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(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.
- 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.
- 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(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.
- 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.
- isNotNull(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a predicate to test whether the expression is not null.
- isNotNull() - Method in interface javax.persistence.criteria.Expression
-
Create a predicate to test whether the expression is
not null.
- isNull(Expression<?>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a predicate to test whether the expression is null.
- isNull() - Method in interface javax.persistence.criteria.Expression
-
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.
- SecondaryTable - Annotation Type in javax.persistence
-
Specifies a secondary table for the annotated entity
class.
- SecondaryTables - Annotation Type in javax.persistence
-
Specifies multiple secondary tables for an entity.
- select(Selection<? extends T>) - Method in interface javax.persistence.criteria.CriteriaQuery
-
Specify the item that is to be returned in the query result.
- select(Expression<T>) - Method in interface javax.persistence.criteria.Subquery
-
Specify the item that is to be returned as the subquery
result.
- selectCase(Expression<? extends C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a simple case expression.
- selectCase() - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create a general case expression.
- Selection<X> - Interface in javax.persistence.criteria
-
The Selection
interface defines an item that is to be
returned in a query result.
- SequenceGenerator - Annotation Type in javax.persistence
-
Defines a primary key generator that may be referenced by name when
a generator element is specified for the
GeneratedValue
annotation.
- set(SingularAttribute<? super T, Y>, X) - Method in interface javax.persistence.criteria.CriteriaUpdate
-
Update the value of the specified attribute.
- set(SingularAttribute<? super T, Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaUpdate
-
Update the value of the specified attribute.
- set(Path<Y>, X) - Method in interface javax.persistence.criteria.CriteriaUpdate
-
Update the value of the specified attribute.
- set(Path<Y>, Expression<? extends Y>) - Method in interface javax.persistence.criteria.CriteriaUpdate
-
Update the value of the specified attribute.
- set(String, Object) - Method in interface javax.persistence.criteria.CriteriaUpdate
-
Update the value of the specified 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.StoredProcedureQuery
-
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.StoredProcedureQuery
-
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(Parameter<T>, T) - Method in interface javax.persistence.Query
-
Bind the value of a Parameter
object.
- setParameter(Parameter<Calendar>, Calendar, TemporalType) - Method in interface javax.persistence.Query
-
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(String, Object) - Method in interface javax.persistence.Query
-
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, Date, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of java.util.Date
to a named parameter.
- setParameter(int, Object) - Method in interface javax.persistence.Query
-
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, Date, TemporalType) - Method in interface javax.persistence.Query
-
Bind an instance of java.util.Date
to a positional parameter.
- setParameter(Parameter<T>, T) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind the value of a Parameter object.
- setParameter(Parameter<Calendar>, Calendar, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Calendar to a Parameter object.
- setParameter(Parameter<Date>, Date, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Date to a Parameter object.
- setParameter(String, Object) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an argument to a named parameter.
- setParameter(String, Calendar, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Calendar to a named parameter.
- setParameter(String, Date, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Date to a named parameter.
- setParameter(int, Object) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an argument to a positional parameter.
- setParameter(int, Calendar, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Calendar to a positional
parameter.
- setParameter(int, Date, TemporalType) - Method in interface javax.persistence.StoredProcedureQuery
-
Bind an instance of java.util.Date to a positional parameter.
- setParameter(Parameter<T>, T) - Method in interface javax.persistence.TypedQuery
-
Bind the value of 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.TypedQuery
-
Bind an instance of java.util.Date
to a Parameter
object.
- 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.TypedQuery
-
Bind an instance of java.util.Calendar
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(int, Object) - Method in interface javax.persistence.TypedQuery
-
Bind an argument 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.TypedQuery
-
Bind an instance of java.util.Date
to a positional parameter.
- 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 in javax.persistence
-
Specifies how the provider must use a second-level cache for the
persistence unit.
- SingularAttribute<X,T> - Interface in javax.persistence.metamodel
-
Instances of the type SingularAttribute
represents persistent
single-valued properties or fields.
- size(Expression<C>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create an expression that tests the size of a collection.
- size(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 Type in javax.persistence
-
Specifies the mapping of the result of a native SQL query.
- SqlResultSetMappings - Annotation Type in javax.persistence
-
- sqrt(Expression<? extends Number>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create an expression that returns the square root
of its argument.
- StaticMetamodel - Annotation Type 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.
- StoredProcedureParameter - Annotation Type in javax.persistence
-
Specifies a parameter of a named stored procedure query.
- StoredProcedureQuery - Interface in javax.persistence
-
Interface used to control stored procedure query execution.
- Subgraph<T> - Interface in javax.persistence
-
This type represents a AttributeNode of an EntityGraph that corresponds to a Managed Type.
- subquery(Class<U>) - Method in interface javax.persistence.criteria.CommonAbstractCriteria
-
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>, Expression<Integer>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create an expression for substring extraction.
- substring(Expression<String>, int) - 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.
- substring(Expression<String>, int, int) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create an expression for substring extraction.
- sum(Expression<N>) - Method in interface javax.persistence.criteria.CriteriaBuilder
-
Create an aggregate expression applying the sum operation.
- 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(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.
- SynchronizationType - Enum in javax.persistence
-
Describes how a persistence context will be synchronized to the database in sync with JTA transactions
- ValidationMode - Enum in javax.persistence
-
The validation mode to be used by the provider for the persistence
unit.
- value(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.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.
- value(Expression<? extends T>) - Method in interface javax.persistence.criteria.CriteriaBuilder.In
-
Add to list of values to be tested against.
- value() - Method in interface javax.persistence.criteria.MapJoin
-
Create a path expression that corresponds to the map value.
- valueOf(String) - Static method in enum javax.persistence.AccessType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.CacheRetrieveMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.CacheStoreMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.CascadeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.criteria.CriteriaBuilder.Trimspec
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.criteria.JoinType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.criteria.Predicate.BooleanOperator
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.DiscriminatorType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.EnumType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.FetchType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.FlushModeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.GenerationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.InheritanceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.LockModeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.metamodel.Attribute.PersistentAttributeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.metamodel.Bindable.BindableType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.metamodel.PluralAttribute.CollectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.metamodel.Type.PersistenceType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.ParameterMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.PersistenceContextType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.PessimisticLockScope
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.SharedCacheMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.spi.LoadState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.spi.PersistenceUnitTransactionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.SynchronizationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.TemporalType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum javax.persistence.ValidationMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum javax.persistence.AccessType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.CacheRetrieveMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.CacheStoreMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.CascadeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.criteria.CriteriaBuilder.Trimspec
-
Returns an array containing the constants of this enum type, 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.
- values() - Static method in enum javax.persistence.criteria.JoinType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.criteria.Predicate.BooleanOperator
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.DiscriminatorType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.EnumType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.FetchType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.FlushModeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.GenerationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.InheritanceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.LockModeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.metamodel.Attribute.PersistentAttributeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.metamodel.Bindable.BindableType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.metamodel.PluralAttribute.CollectionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.metamodel.Type.PersistenceType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.ParameterMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.PersistenceContextType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.PessimisticLockScope
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.SharedCacheMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.spi.LoadState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.spi.PersistenceUnitTransactionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.SynchronizationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.TemporalType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum javax.persistence.ValidationMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Version - Annotation Type in javax.persistence
-
Specifies the version field or property of an entity class that
serves as its optimistic lock value.