Package | Description |
---|---|
javax.persistence | |
org.hibernate.jpa.criteria.compile | |
org.hibernate.jpa.internal | |
org.hibernate.jpa.spi |
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 |
CriteriaQueryTypeQueryAdapter<X> |
Modifier and Type | Method and Description |
---|---|
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setFirstResult(int i) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setFlushMode(FlushModeType flushModeType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setHint(String name,
Object value) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setLockMode(LockModeType lockModeType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setMaxResults(int i) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(int i,
Calendar calendar,
TemporalType temporalType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(int i,
Date date,
TemporalType temporalType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(int i,
Object o) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Calendar> param,
Calendar calendar,
TemporalType temporalType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<Date> param,
Date date,
TemporalType temporalType) |
<T> TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(Parameter<T> param,
T t) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(String name,
Calendar calendar,
TemporalType temporalType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(String name,
Date date,
TemporalType temporalType) |
TypedQuery<X> |
CriteriaQueryTypeQueryAdapter.setParameter(String name,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
ImplicitParameterBinding.bind(TypedQuery typedQuery)
Bind the implicit parameter's value to the JPA query.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryImpl<X>
Hibernate implementation of both the
Query and TypedQuery contracts. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQueryImpl<X>
Base class for implementing both
Query and TypedQuery , including
query references built from criteria queries. |
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) |
TypedQuery<X> |
AbstractQueryImpl.setLockMode(LockModeType lockModeType) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.