Query<R> |
Query.addQueryHint(String hint) |
Add a database query hint to the SQL query.
|
default Query<R> |
Query.applyFetchGraph(RootGraph graph) |
|
Query<R> |
Query.applyGraph(RootGraph graph,
GraphSemantic semantic) |
Apply the given graph using the given semantic
|
default Query<R> |
Query.applyLoadGraph(RootGraph graph) |
|
Query |
QueryProducer.createNamedQuery(String name) |
Deprecated.
|
<R> Query<R> |
QueryProducer.createNamedQuery(String name,
Class<R> resultClass) |
Create a typed Query instance for the given named query.
|
Query |
QueryProducer.createQuery(jakarta.persistence.criteria.CriteriaDelete deleteQuery) |
Deprecated.
|
<R> Query<R> |
QueryProducer.createQuery(jakarta.persistence.criteria.CriteriaQuery<R> criteriaQuery) |
Create a Query for the given JPA CriteriaQuery
|
Query |
QueryProducer.createQuery(jakarta.persistence.criteria.CriteriaUpdate updateQuery) |
Deprecated.
|
Query |
QueryProducer.createQuery(String queryString) |
Deprecated.
|
<R> Query<R> |
QueryProducer.createQuery(String queryString,
Class<R> resultClass) |
Create a typed Query instance for the given HQL query string.
|
Query |
QueryProducer.getNamedQuery(String queryName) |
Deprecated.
|
Query<R> |
Query.setCacheable(boolean cacheable) |
|
Query<R> |
Query.setCacheMode(CacheMode cacheMode) |
|
Query<R> |
Query.setCacheRegion(String cacheRegion) |
|
Query<R> |
Query.setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode) |
|
Query<R> |
Query.setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode) |
|
Query<R> |
Query.setComment(String comment) |
Set the comment for this query.
|
Query<R> |
Query.setFetchSize(int fetchSize) |
|
Query<R> |
Query.setFirstResult(int startPosition) |
|
Query<R> |
Query.setFlushMode(jakarta.persistence.FlushModeType flushMode) |
|
Query<R> |
Query.setHibernateFlushMode(FlushMode flushMode) |
|
Query<R> |
Query.setHint(String hintName,
Object value) |
|
Query<R> |
Query.setLockMode(jakarta.persistence.LockModeType lockMode) |
|
Query<R> |
Query.setLockMode(String alias,
LockMode lockMode) |
Set the LockMode to use for particular alias defined in
the FROM clause of the query.
|
Query<R> |
Query.setLockOptions(LockOptions lockOptions) |
|
Query<R> |
Query.setMaxResults(int maxResult) |
|
Query<R> |
Query.setParameter(int parameter,
Object argument) |
Bind the given argument to an ordinal query parameter.
|
Query<R> |
Query.setParameter(int parameter,
Instant argument,
jakarta.persistence.TemporalType temporalType) |
Bind an Instant value to the ordinal query parameter using
just the portion indicated by the given TemporalType .
|
Query<R> |
Query.setParameter(int parameter,
Calendar argument,
jakarta.persistence.TemporalType temporalType) |
Query override
|
Query<R> |
Query.setParameter(int parameter,
Date argument,
jakarta.persistence.TemporalType temporalType) |
Query override
|
<P> Query<R> |
Query.setParameter(int parameter,
P argument,
Class<P> type) |
Bind the given argument to an ordinal query parameter using the given
Class reference to attempt to determine the BindableType
to use.
|
<P> Query<R> |
Query.setParameter(int parameter,
P argument,
BindableType<P> type) |
Bind the given argument to an ordinal query parameter using the given
BindableType .
|
Query<R> |
Query.setParameter(jakarta.persistence.Parameter<Calendar> parameter,
Calendar argument,
jakarta.persistence.TemporalType temporalType) |
Query override
|
Query<R> |
Query.setParameter(jakarta.persistence.Parameter<Date> parameter,
Date argument,
jakarta.persistence.TemporalType temporalType) |
Query override
|
<T> Query<R> |
Query.setParameter(jakarta.persistence.Parameter<T> parameter,
T argument) |
Query override
|
Query<R> |
Query.setParameter(String parameter,
Object argument) |
Bind the given argument to a named query parameter.
|
Query<R> |
Query.setParameter(String parameter,
Instant argument,
jakarta.persistence.TemporalType temporalType) |
Bind an Instant value to the named query parameter using
just the portion indicated by the given TemporalType .
|
Query<R> |
Query.setParameter(String parameter,
Calendar argument,
jakarta.persistence.TemporalType temporalType) |
Query override
|
Query<R> |
Query.setParameter(String parameter,
Date argument,
jakarta.persistence.TemporalType temporalType) |
Query override
|
<P> Query<R> |
Query.setParameter(String parameter,
P argument,
Class<P> type) |
Bind the given argument to a named query parameter using the given
Class reference to attempt to determine the BindableType
to use.
|
<P> Query<R> |
Query.setParameter(String parameter,
P argument,
BindableType<P> type) |
Bind the given argument to a named query parameter using the given
BindableType .
|
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P argument,
Class<P> type) |
Bind an argument to the query parameter represented by the given
QueryParameter using the given Class reference to attempt to
determine the BindableType to use.
|
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P argument,
BindableType<P> type) |
|
<T> Query<R> |
Query.setParameter(QueryParameter<T> parameter,
T argument) |
Bind an argument to the query parameter represented by the given
QueryParameter .
|
Query<R> |
Query.setParameterList(int parameter,
Object[] arguments) |
Bind multiple arguments to an ordinal query parameter.
|
Query<R> |
Query.setParameterList(int parameter,
Collection arguments) |
Bind multiple arguments to an ordinal query parameter.
|
<P> Query<R> |
Query.setParameterList(int parameter,
Collection<? extends P> arguments,
Class<P> javaType) |
Bind multiple arguments to an ordinal query parameter using the given
Class reference to attempt to determine the BindableType
to use.
|
<P> Query<R> |
Query.setParameterList(int parameter,
Collection<? extends P> arguments,
BindableType<P> type) |
Bind multiple arguments to an ordinal query parameter using the given
BindableType .
|
<P> Query<R> |
Query.setParameterList(int parameter,
P[] arguments,
Class<P> javaType) |
Bind multiple arguments to an ordinal query parameter using the given
Class reference to attempt to determine the BindableType
to use.
|
<P> Query<R> |
Query.setParameterList(int parameter,
P[] arguments,
BindableType<P> type) |
Bind multiple arguments to an ordinal query parameter using the given
BindableType .
|
Query<R> |
Query.setParameterList(String parameter,
Object[] values) |
Bind multiple arguments to a named query parameter.
|
Query<R> |
Query.setParameterList(String parameter,
Collection arguments) |
Bind multiple arguments to a named query parameter.
|
<P> Query<R> |
Query.setParameterList(String parameter,
Collection<? extends P> arguments,
Class<P> javaType) |
Bind multiple arguments to a named query parameter using the given
Class reference to attempt to determine the BindableType
to use.
|
<P> Query<R> |
Query.setParameterList(String parameter,
Collection<? extends P> arguments,
BindableType<P> type) |
Bind multiple arguments to a named query parameter using the given
BindableType .
|
<P> Query<R> |
Query.setParameterList(String parameter,
P[] arguments,
Class<P> javaType) |
Bind multiple arguments to a named query parameter using the given
Class reference to attempt to determine the BindableType
to use.
|
<P> Query<R> |
Query.setParameterList(String parameter,
P[] arguments,
BindableType<P> type) |
Bind multiple arguments to a named query parameter using the given
BindableType .
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
Collection<? extends P> arguments) |
Bind multiple arguments to the query parameter represented by the given
QueryParameter .
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
Collection<? extends P> arguments,
Class<P> javaType) |
Bind multiple arguments to the query parameter represented by the given
QueryParameter using the given Class reference to attempt to
determine the BindableType to use.
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
Collection<? extends P> arguments,
BindableType<P> type) |
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
P[] arguments) |
Bind multiple arguments to the query parameter represented by the
given QueryParameter
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
P[] arguments,
Class<P> javaType) |
Bind multiple arguments to the query parameter represented by the
given QueryParameter using the given Class reference to attempt
to determine the BindableType to use.
|
<P> Query<R> |
Query.setParameterList(QueryParameter<P> parameter,
P[] arguments,
BindableType<P> type) |
|
Query<R> |
Query.setProperties(Object bean) |
Bind the property values of the given bean to named parameters of the query,
matching property names with parameter names and mapping property types to
Hibernate types using heuristics.
|
Query<R> |
Query.setProperties(Map bean) |
Bind the values of the given Map for each named parameters of the query,
matching key names with parameter names and mapping value types to
Hibernate types using heuristics.
|
Query<R> |
Query.setReadOnly(boolean readOnly) |
|
Query<R> |
Query.setResultListTransformer(ResultListTransformer<R> transformer) |
|
default <T> Query<T> |
Query.setResultTransformer(ResultTransformer<T> transformer) |
Deprecated.
|
Query<R> |
Query.setTimeout(int timeout) |
|
<T> Query<T> |
Query.setTupleTransformer(TupleTransformer<T> transformer) |
|