Uses of Interface
javax.persistence.TypedQuery
Packages that use TypedQuery
-
Uses of TypedQuery in javax.persistence
Methods in javax.persistence that return TypedQueryModifier and TypeMethodDescription<T> TypedQuery<T>
EntityManager.createNamedQuery
(String name, Class<T> resultClass) Create an instance ofTypedQuery
for executing a Java Persistence query language named query.<T> TypedQuery<T>
EntityManager.createQuery
(String qlString, Class<T> resultClass) Create an instance ofTypedQuery
for executing a Java Persistence query language statement.<T> TypedQuery<T>
EntityManager.createQuery
(CriteriaQuery<T> criteriaQuery) Create an instance ofTypedQuery
for executing a criteria query.TypedQuery.setFirstResult
(int startPosition) Set the position of the first result to retrieve.TypedQuery.setFlushMode
(FlushModeType flushMode) Set the flush mode type to be used for the query execution.Set a query property or hint.TypedQuery.setLockMode
(LockModeType lockMode) Set the lock mode type to be used for the query execution.TypedQuery.setMaxResults
(int maxResult) Set the maximum number of results to retrieve.TypedQuery.setParameter
(int position, Object value) Bind an argument to a positional parameter.TypedQuery.setParameter
(int position, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendar
to a positional parameter.TypedQuery.setParameter
(int position, Date value, TemporalType temporalType) Bind an instance ofjava.util.Date
to a positional parameter.TypedQuery.setParameter
(String name, Object value) Bind an argument to a named parameter.TypedQuery.setParameter
(String name, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendar
to a named parameter.TypedQuery.setParameter
(String name, Date value, TemporalType temporalType) Bind an instance ofjava.util.Date
to a named parameter.TypedQuery.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Bind an instance ofjava.util.Calendar
to aParameter
object.TypedQuery.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) Bind an instance ofjava.util.Date
to aParameter
object.<T> TypedQuery<X>
TypedQuery.setParameter
(Parameter<T> param, T value) Bind the value of aParameter
object.