Uses of Interface
org.hibernate.query.Query
-
Packages that use Query Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory
, which represents an instance of Hibernate at runtime and is the source of new instances ofSession
andStatelessSession
, the most important APIs exposing persistence-related operations for entities.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.envers.internal.entities.mapper.id org.hibernate.envers.internal.entities.mapper.relation.query org.hibernate.envers.internal.revisioninfo org.hibernate.envers.internal.tools.query org.hibernate.envers.query.internal.impl org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.procedure.internal Defines the internal implementation of the stored procedure SPI.org.hibernate.procedure.spi Defines an SPI for calling stored procedures and functions.org.hibernate.query Everything related to HQL/JPQL, native SQL, and criteria queries.org.hibernate.query.hql.spi SPIs for HQL support.org.hibernate.query.spi Contains a range of internal abstractions for dealing with query execution, query plans, query options, and query parameters.org.hibernate.query.sql.internal Implementation of the SPIs for native SQL query support.org.hibernate.query.sql.spi SPIs for native SQL query support.org.hibernate.query.sqm.internal Package for the SQM-backed Query implementation details -
-
Uses of Query in org.hibernate
Methods in org.hibernate that return Query Modifier and Type Method Description Query
Session. createNamedQuery(String name)
Deprecated.<R> Query<R>
Session. createNamedQuery(String name, Class<R> resultClass)
Query
Session. createQuery(CriteriaDelete deleteQuery)
Deprecated.<R> Query<R>
Session. createQuery(CriteriaQuery<R> criteriaQuery)
Query
Session. createQuery(CriteriaUpdate updateQuery)
Deprecated.Query
Session. createQuery(String queryString)
Deprecated.<R> Query<R>
Session. createQuery(String queryString, Class<R> resultClass)
-
Uses of Query in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return Query Modifier and Type Method Description Query
SessionLazyDelegator. createNamedQuery(String name)
Deprecated.<R> Query<R>
SessionLazyDelegator. createNamedQuery(String name, Class<R> resultClass)
Query
SessionLazyDelegator. createQuery(CriteriaDelete deleteQuery)
Deprecated.<R> Query<R>
SessionLazyDelegator. createQuery(CriteriaQuery<R> criteriaQuery)
Query
SessionLazyDelegator. createQuery(CriteriaUpdate updateQuery)
Deprecated.Query
SessionLazyDelegator. createQuery(String queryString)
Deprecated.<R> Query<R>
SessionLazyDelegator. createQuery(String queryString, Class<R> resultClass)
Query
SessionLazyDelegator. getNamedQuery(String queryName)
Deprecated. -
Uses of Query in org.hibernate.envers.internal.entities.mapper.id
Methods in org.hibernate.envers.internal.entities.mapper.id with parameters of type Query Modifier and Type Method Description void
QueryParameterData. setParameterValue(Query query)
-
Uses of Query in org.hibernate.envers.internal.entities.mapper.relation.query
Methods in org.hibernate.envers.internal.entities.mapper.relation.query that return Query Modifier and Type Method Description Query
AbstractRelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
Query
RelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)
Return the query to fetch the relation. -
Uses of Query in org.hibernate.envers.internal.revisioninfo
Methods in org.hibernate.envers.internal.revisioninfo that return Query Modifier and Type Method Description Query<?>
RevisionInfoQueryCreator. getRevisionDateQuery(Session session, Number revision)
Query<?>
RevisionInfoQueryCreator. getRevisionNumberForDateQuery(Session session, LocalDateTime localDateTime)
Query<?>
RevisionInfoQueryCreator. getRevisionNumberForDateQuery(Session session, Date date)
Query<?>
RevisionInfoQueryCreator. getRevisionsQuery(Session session, Set<Number> revisions)
-
Uses of Query in org.hibernate.envers.internal.tools.query
Methods in org.hibernate.envers.internal.tools.query that return Query Modifier and Type Method Description Query
QueryBuilder. toQuery(Session session)
Query
UpdateBuilder. toQuery(Session session)
-
Uses of Query in org.hibernate.envers.query.internal.impl
Methods in org.hibernate.envers.query.internal.impl that return Query Modifier and Type Method Description protected Query
AbstractAuditQuery. buildQuery()
Methods in org.hibernate.envers.query.internal.impl with parameters of type Query Modifier and Type Method Description protected void
AbstractAuditQuery. setQueryProperties(Query query)
-
Uses of Query in org.hibernate.internal
Methods in org.hibernate.internal with parameters of type Query Modifier and Type Method Description protected void
AbstractSharedSessionContract. applyQuerySettingsAndHints(Query<?> query)
protected void
SessionImpl. applyQuerySettingsAndHints(Query<?> query)
-
Uses of Query in org.hibernate.procedure.internal
Classes in org.hibernate.procedure.internal that implement Query Modifier and Type Class Description class
ProcedureCallImpl<R>
Standard implementation ofProcedureCall
Methods in org.hibernate.procedure.internal that return Query Modifier and Type Method Description Query<R>
ProcedureCallImpl. applyGraph(RootGraph graph, GraphSemantic semantic)
Query<R>
ProcedureCallImpl. setOrder(List<Order<? super R>> orderList)
Query<R>
ProcedureCallImpl. setOrder(Order<? super R> order)
-
Uses of Query in org.hibernate.procedure.spi
Subinterfaces of Query in org.hibernate.procedure.spi Modifier and Type Interface Description interface
ProcedureCallImplementor<R>
-
Uses of Query in org.hibernate.query
Subinterfaces of Query in org.hibernate.query Modifier and Type Interface Description interface
NativeQuery<T>
Within the context of an active session, an instance of this type represents an executable query written in the native SQL dialect of the underlying database.Methods in org.hibernate.query that return Query Modifier and Type Method Description Query<R>
Query. addQueryHint(String hint)
Add a database query hint to the SQL query.default Query<R>
Query. applyFetchGraph(RootGraph graph)
Apply the given graph using fetch semantics.Query<R>
Query. applyGraph(RootGraph graph, GraphSemantic semantic)
Apply the given graph using the given semanticdefault Query<R>
Query. applyLoadGraph(RootGraph graph)
Apply the given graph using load semantics.Query
QueryProducer. createNamedQuery(String name)
Deprecated.<R> Query<R>
QueryProducer. createNamedQuery(String name, Class<R> resultClass)
Create a typedQuery
instance for the given named query.Query
QueryProducer. createQuery(CriteriaDelete deleteQuery)
Deprecated.<R> Query<R>
QueryProducer. createQuery(CriteriaQuery<R> criteriaQuery)
Create aQuery
for the given JPACriteriaQuery
.Query
QueryProducer. createQuery(CriteriaUpdate updateQuery)
Deprecated.Query
QueryProducer. createQuery(String queryString)
Deprecated.useQueryProducer.createQuery(String, Class)
,QueryProducer.createSelectionQuery(String, Class)
, orQueryProducer.createMutationQuery(String)
depending on intention<R> Query<R>
QueryProducer. createQuery(String queryString, Class<R> resultClass)
Create a typedQuery
instance for the given HQL query string and given query result type.Query<R>
Query. disableFetchProfile(String profileName)
Query<R>
Query. enableFetchProfile(String profileName)
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(CacheRetrieveMode cacheRetrieveMode)
Query<R>
Query. setCacheStoreMode(CacheStoreMode cacheStoreMode)
Query<R>
Query. setComment(String comment)
Set the comment for this query.Query<R>
Query. setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic)
Query<R>
Query. setFetchSize(int fetchSize)
Query<R>
Query. setFirstResult(int startPosition)
Query<R>
Query. setFlushMode(FlushModeType flushMode)
Query<R>
Query. setHibernateFlushMode(FlushMode flushMode)
Query<R>
Query. setHint(String hintName, Object value)
Query<R>
Query. setLockMode(LockModeType lockMode)
Query<R>
Query. setLockMode(String alias, LockMode lockMode)
Set theLockMode
to use for particular alias defined in theFROM
clause of the query.Query<R>
Query. setLockOptions(LockOptions lockOptions)
Apply the given lock options to this query.Query<R>
Query. setMaxResults(int maxResult)
Query<R>
Query. setOrder(List<Order<? super R>> orderList)
Query<R>
Query. setOrder(Order<? super R> order)
default Query<R>
Query. setPage(Page page)
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, TemporalType temporalType)
Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.Query<R>
Query. setParameter(int parameter, Calendar argument, TemporalType temporalType)
Query
overrideQuery<R>
Query. setParameter(int parameter, Date argument, 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 theBindableType
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 givenBindableType
.Query<R>
Query. setParameter(Parameter<Calendar> parameter, Calendar argument, TemporalType temporalType)
Query
overrideQuery<R>
Query. setParameter(Parameter<Date> parameter, Date argument, TemporalType temporalType)
Query
override<T> Query<R>
Query. setParameter(Parameter<T> parameter, T argument)
Query
overrideQuery<R>
Query. setParameter(String parameter, Object argument)
Bind the given argument to a named query parameter.Query<R>
Query. setParameter(String parameter, Instant argument, TemporalType temporalType)
Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.Query<R>
Query. setParameter(String parameter, Calendar argument, TemporalType temporalType)
Query
overrideQuery<R>
Query. setParameter(String parameter, Date argument, 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 theBindableType
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 givenBindableType
.<P> Query<R>
Query. setParameter(QueryParameter<P> parameter, P argument, Class<P> type)
Bind an argument to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use.<P> Query<R>
Query. setParameter(QueryParameter<P> parameter, P argument, BindableType<P> type)
Bind an argument to the query parameter represented by the givenQueryParameter
using the givenBindableType
.<T> Query<R>
Query. setParameter(QueryParameter<T> parameter, T argument)
Bind an argument to the query parameter represented by the givenQueryParameter
.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 theBindableType
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 givenBindableType
.<P> Query<R>
Query. setParameterList(int parameter, P[] arguments, Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use.<P> Query<R>
Query. setParameterList(int parameter, P[] arguments, BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.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 theBindableType
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 givenBindableType
.<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 theBindableType
to use.<P> Query<R>
Query. setParameterList(String parameter, P[] arguments, BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<P> Query<R>
Query. setParameterList(QueryParameter<P> parameter, Collection<? extends P> arguments)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<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 givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use.<P> Query<R>
Query. setParameterList(QueryParameter<P> parameter, Collection<? extends P> arguments, BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.<P> Query<R>
Query. setParameterList(QueryParameter<P> parameter, P[] arguments)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<P> Query<R>
Query. setParameterList(QueryParameter<P> parameter, P[] arguments, Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the givenClass
reference to attempt to determine theBindableType
to use.<P> Query<R>
Query. setParameterList(QueryParameter<P> parameter, P[] arguments, BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.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 givenMap
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)
Set aResultListTransformer
.default <T> Query<T>
Query. setResultTransformer(ResultTransformer<T> transformer)
Query<R>
Query. setTimeout(int timeout)
<T> Query<T>
Query. setTupleTransformer(TupleTransformer<T> transformer)
Set aTupleTransformer
. -
Uses of Query in org.hibernate.query.hql.spi
Subinterfaces of Query in org.hibernate.query.hql.spi Modifier and Type Interface Description interface
SqmQueryImplementor<R>
QueryImplementor
specialization for SQM-based Query references -
Uses of Query in org.hibernate.query.spi
Subinterfaces of Query in org.hibernate.query.spi Modifier and Type Interface Description interface
QueryImplementor<R>
Classes in org.hibernate.query.spi that implement Query Modifier and Type Class Description class
AbstractQuery<R>
Methods in org.hibernate.query.spi that return Query Modifier and Type Method Description Query<R>
AbstractQuery. setOrder(List<Order<? super R>> orders)
Query<R>
AbstractQuery. setOrder(Order<? super R> order)
-
Uses of Query in org.hibernate.query.sql.internal
Classes in org.hibernate.query.sql.internal that implement Query Modifier and Type Class Description class
NativeQueryImpl<R>
Methods in org.hibernate.query.sql.internal that return Query Modifier and Type Method Description Query<R>
NativeQueryImpl. applyGraph(RootGraph graph, GraphSemantic semantic)
Query<R>
NativeQueryImpl. setOrder(List<Order<? super R>> orderList)
Query<R>
NativeQueryImpl. setOrder(Order<? super R> order)
-
Uses of Query in org.hibernate.query.sql.spi
Subinterfaces of Query in org.hibernate.query.sql.spi Modifier and Type Interface Description interface
NativeQueryImplementor<R>
-
Uses of Query in org.hibernate.query.sqm.internal
Classes in org.hibernate.query.sqm.internal that implement Query Modifier and Type Class Description class
QuerySqmImpl<R>
Query
implementation based on an SQMMethods in org.hibernate.query.sqm.internal that return Query Modifier and Type Method Description Query<R>
QuerySqmImpl. disableFetchProfile(String profileName)
Query<R>
QuerySqmImpl. enableFetchProfile(String profileName)
Query<R>
QuerySqmImpl. setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic)
Query<R>
QuerySqmImpl. setOrder(List<Order<? super R>> orderList)
Query<R>
QuerySqmImpl. setOrder(Order<? super R> order)
-