Package | Description |
---|---|
javax.persistence | |
org.hibernate.ejb | |
org.hibernate.ejb.criteria |
Modifier and Type | Method and Description |
---|---|
<T> TypedQuery<T> |
EntityManager.createNamedQuery(String name,
Class<T> resultClass)
Create an instance of
TypedQuery for executing a
Java Persistence query language named query. |
<T> TypedQuery<T> |
EntityManager.createQuery(CriteriaQuery<T> criteriaQuery)
Create an instance of
TypedQuery for executing a
criteria query. |
<T> TypedQuery<T> |
EntityManager.createQuery(String qlString,
Class<T> resultClass)
Create an instance of
TypedQuery for executing a
Java Persistence query language statement. |
TypedQuery<X> |
TypedQuery.setFirstResult(int startPosition)
Set the position of the first result to retrieve.
|
TypedQuery<X> |
TypedQuery.setFlushMode(FlushModeType flushMode)
Set the flush mode type to be used for the query execution.
|
TypedQuery<X> |
TypedQuery.setHint(String hintName,
Object value)
Set a query property or hint.
|
TypedQuery<X> |
TypedQuery.setLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
|
TypedQuery<X> |
TypedQuery.setMaxResults(int maxResult)
Set the maximum number of results to retrieve.
|
TypedQuery<X> |
TypedQuery.setParameter(int position,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a positional
parameter. |
TypedQuery<X> |
TypedQuery.setParameter(int position,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a positional parameter. |
TypedQuery<X> |
TypedQuery.setParameter(int position,
Object value)
Bind an argument to a positional parameter.
|
TypedQuery<X> |
TypedQuery.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a Parameter object. |
TypedQuery<X> |
TypedQuery.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a Parameter object. |
<T> TypedQuery<X> |
TypedQuery.setParameter(Parameter<T> param,
T value)
Bind the value of a
Parameter object. |
TypedQuery<X> |
TypedQuery.setParameter(String name,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a named parameter. |
TypedQuery<X> |
TypedQuery.setParameter(String name,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a named parameter. |
TypedQuery<X> |
TypedQuery.setParameter(String name,
Object value)
Bind an argument to a named parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueryImpl<X>
Intended as a base class providing convenience in implementing both
Query and
TypedQuery . |
class |
QueryImpl<X>
Hibernate implementation of both the
Query and TypedQuery contracts. |
Modifier and Type | Method and Description |
---|---|
<T> TypedQuery<T> |
AbstractEntityManagerImpl.createNamedQuery(String name,
Class<T> resultClass) |
<T> TypedQuery<T> |
AbstractEntityManagerImpl.createQuery(CriteriaQuery<T> criteriaQuery) |
<T> TypedQuery<T> |
AbstractEntityManagerImpl.createQuery(String jpaqlString,
Class<T> resultClass) |
<T> TypedQuery<T> |
HibernateEntityManagerImplementor.createQuery(String jpaqlString,
Class<T> resultClass,
Selection selection,
HibernateEntityManagerImplementor.Options options)
Used during "compiling" a JPA criteria query.
|
<T> TypedQuery<T> |
AbstractEntityManagerImpl.createQuery(String jpaqlString,
Class<T> resultClass,
Selection selection,
HibernateEntityManagerImplementor.Options options) |
TypedQuery<X> |
AbstractQueryImpl.setFirstResult(int firstResult) |
TypedQuery<X> |
AbstractQueryImpl.setFlushMode(FlushModeType jpaFlushMode) |
TypedQuery<X> |
AbstractQueryImpl.setHint(String hintName,
Object value) |
TypedQuery<X> |
QueryImpl.setLockMode(LockModeType lockModeType) |
abstract TypedQuery<X> |
AbstractQueryImpl.setLockMode(LockModeType lockModeType) |
TypedQuery<X> |
AbstractQueryImpl.setMaxResults(int maxResult) |
TypedQuery<X> |
QueryImpl.setParameter(int position,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a positional
parameter. |
TypedQuery<X> |
QueryImpl.setParameter(int position,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a positional parameter. |
TypedQuery<X> |
QueryImpl.setParameter(int position,
Object value)
Bind an argument to a positional parameter.
|
TypedQuery<X> |
QueryImpl.setParameter(Parameter<Calendar> param,
Calendar value,
TemporalType temporalType) |
TypedQuery<X> |
QueryImpl.setParameter(Parameter<Date> param,
Date value,
TemporalType temporalType) |
<T> TypedQuery<X> |
QueryImpl.setParameter(Parameter<T> param,
T value) |
TypedQuery<X> |
QueryImpl.setParameter(String name,
Calendar value,
TemporalType temporalType)
Bind an instance of
java.util.Calendar to a named parameter. |
TypedQuery<X> |
QueryImpl.setParameter(String name,
Date value,
TemporalType temporalType)
Bind an instance of
java.util.Date to a named parameter. |
TypedQuery<X> |
QueryImpl.setParameter(String name,
Object value)
Bind an argument to a named parameter.
|
Modifier and Type | Method and Description |
---|---|
<T> TypedQuery<T> |
CriteriaQueryCompiler.compile(CriteriaQuery<T> criteriaQuery) |
Modifier and Type | Method and Description |
---|---|
void |
CriteriaQueryCompiler.ImplicitParameterBinding.bind(TypedQuery typedQuery)
Bind the implicit parameter's value to the JPA query.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.