Uses of Interface
org.hibernate.query.SelectionQuery
Packages that use SelectionQuery
Package
Description
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.Defines the internal implementation of the stored procedure SPI.
Defines an SPI for calling stored procedures and functions.
Everything related to HQL/JPQL, native SQL, and criteria queries.
The JPA-standard criteria query API defines all the operations needed express
any query written in standard JPQL.
SPIs for HQL support.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
Implementation of the SPIs for native SQL query support.
SPIs for native SQL query support.
This package defines a semantic model of HQL queries.
Package for the SQM-backed Query implementation details
SPI-level SQM contracts
-
Uses of SelectionQuery in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return SelectionQueryModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.createNamedSelectionQuery
(String name) <R> SelectionQuery<R>
SessionDelegatorBaseImpl.createNamedSelectionQuery
(String name, Class<R> resultType) SessionLazyDelegator.createNamedSelectionQuery
(String name) <R> SelectionQuery<R>
SessionLazyDelegator.createNamedSelectionQuery
(String name, Class<R> resultType) SharedSessionDelegatorBaseImpl.createNamedSelectionQuery
(String name) <R> SelectionQuery<R>
SharedSessionDelegatorBaseImpl.createNamedSelectionQuery
(String name, Class<R> resultType) <R> SelectionQuery<R>
SessionDelegatorBaseImpl.createSelectionQuery
(CriteriaQuery<R> criteria) SessionDelegatorBaseImpl.createSelectionQuery
(String hqlString) <R> SelectionQuery<R>
SessionDelegatorBaseImpl.createSelectionQuery
(String hqlString, Class<R> resultType) <R> SelectionQuery<R>
SessionLazyDelegator.createSelectionQuery
(CriteriaQuery<R> criteria) SessionLazyDelegator.createSelectionQuery
(String hqlString) <R> SelectionQuery<R>
SessionLazyDelegator.createSelectionQuery
(String hqlString, Class<R> resultType) <R> SelectionQuery<R>
SharedSessionDelegatorBaseImpl.createSelectionQuery
(CriteriaQuery<R> criteria) SharedSessionDelegatorBaseImpl.createSelectionQuery
(String hqlString) <R> SelectionQuery<R>
SharedSessionDelegatorBaseImpl.createSelectionQuery
(String hqlString, Class<R> resultType) -
Uses of SelectionQuery in org.hibernate.internal
Methods in org.hibernate.internal that return SelectionQueryModifier and TypeMethodDescriptionAbstractSharedSessionContract.createNamedSelectionQuery
(String queryName) <R> SelectionQuery<R>
AbstractSharedSessionContract.createNamedSelectionQuery
(String queryName, Class<R> expectedResultType) <R> SelectionQuery<R>
AbstractSharedSessionContract.createSelectionQuery
(CriteriaQuery<R> criteria) AbstractSharedSessionContract.createSelectionQuery
(String hqlString) <R> SelectionQuery<R>
AbstractSharedSessionContract.createSelectionQuery
(String hqlString, Class<R> expectedResultType) Methods in org.hibernate.internal with parameters of type SelectionQueryModifier and TypeMethodDescriptionprotected void
SessionImpl.applyLockOptionsHint
(SelectionQuery<?> query) protected void
AbstractSharedSessionContract.applyQuerySettingsAndHints
(SelectionQuery<?> query) protected void
SessionImpl.applyQuerySettingsAndHints
(SelectionQuery<?> query) -
Uses of SelectionQuery in org.hibernate.procedure.internal
Classes in org.hibernate.procedure.internal that implement SelectionQuery -
Uses of SelectionQuery in org.hibernate.procedure.spi
Subinterfaces of SelectionQuery in org.hibernate.procedure.spi -
Uses of SelectionQuery in org.hibernate.query
Subinterfaces of SelectionQuery in org.hibernate.queryModifier and TypeInterfaceDescriptioninterface
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.interface
Query<R>
Within the context of an active session, an instance of this type represents an executable query, either: a query written in HQL, a named query written in HQL or native SQL, or a criteria query.Methods in org.hibernate.query that return SelectionQueryModifier and TypeMethodDescriptionQueryProducer.createNamedSelectionQuery
(String name) Deprecated.<R> SelectionQuery<R>
QueryProducer.createNamedSelectionQuery
(String name, Class<R> resultType) Create aSelectionQuery
instance for the namedNamedQuery
with the given result type.<R> SelectionQuery<R>
QueryProducer.createSelectionQuery
(CriteriaQuery<R> criteria) Create aSelectionQuery
reference for the givenCriteriaQuery
.QueryProducer.createSelectionQuery
(String hqlString) Deprecated.The overloaded formQueryProducer.createSelectionQuery(String, Class)
which takes a result type is strongly recommended in preference to this method, since it returns a typedSelectionQuery
object, and because it is able to use the given result type to infer theselect
list, and even sometimes thefrom
clause.<R> SelectionQuery<R>
QueryProducer.createSelectionQuery
(String hqlString, Class<R> resultType) Create aSelectionQuery
instance for the given HQL query string and given query result type.SelectionQuery.disableFetchProfile
(String profileName) Disable thefetch profile
with the given name in this session.SelectionQuery.enableFetchProfile
(String profileName) Enable thefetch profile
for this query.SelectionQuery.setCacheable
(boolean cacheable) Enable/disable second level query (result) caching for this query.SelectionQuery.setCacheMode
(CacheMode cacheMode) Set the currentCacheMode
in effect for this query.SelectionQuery.setCacheRegion
(String cacheRegion) Set the name of the cache region where query results should be cached (assumingisCacheable()
).SelectionQuery.setCacheRetrieveMode
(CacheRetrieveMode cacheRetrieveMode) SelectionQuery.setCacheStoreMode
(CacheStoreMode cacheStoreMode) SelectionQuery.setComment
(String comment) SelectionQuery.setEntityGraph
(EntityGraph<R> graph, GraphSemantic semantic) Apply anEntityGraph
to the query.SelectionQuery.setFetchSize
(int fetchSize) Sets a JDBC fetch size hint for the query.SelectionQuery.setFirstResult
(int startPosition) Set the first row position to return from the query results.SelectionQuery.setFlushMode
(FlushModeType flushMode) Deprecated.SelectionQuery.setFollowOnLocking
(boolean enable) Specifies whether follow-on locking should be appliedSelectionQuery.setHibernateFlushMode
(FlushMode flushMode) Deprecated.SelectionQuery.setHibernateLockMode
(LockMode lockMode) Specify the rootLockMode
for the querySelectionQuery.setLockMode
(LockModeType lockMode) Specify the rootLockModeType
for the querySelectionQuery.setLockMode
(String alias, LockMode lockMode) Specify aLockMode
to apply to a specific alias defined in the querySelectionQuery.setMaxResults
(int maxResult) Set the max number of rows requested for the query results.If the result type of this query is an entity class, add one or more rules for ordering the query results.If the result type of this query is an entity class, add a rule for ordering the query results.Set the page of results to return.SelectionQuery.setParameter
(int position, Object value) SelectionQuery.setParameter
(int position, Instant value, TemporalType temporalType) SelectionQuery.setParameter
(int position, Calendar value, TemporalType temporalType) SelectionQuery.setParameter
(int position, Date value, TemporalType temporalType) <P> SelectionQuery<R>
SelectionQuery.setParameter
(int position, P value, Class<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameter
(int position, P value, BindableType<P> type) SelectionQuery.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) SelectionQuery.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) <T> SelectionQuery<R>
SelectionQuery.setParameter
(Parameter<T> param, T value) SelectionQuery.setParameter
(String name, Object value) SelectionQuery.setParameter
(String name, Instant value, TemporalType temporalType) SelectionQuery.setParameter
(String name, Calendar value, TemporalType temporalType) SelectionQuery.setParameter
(String name, Date value, TemporalType temporalType) <P> SelectionQuery<R>
SelectionQuery.setParameter
(String name, P value, Class<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameter
(String name, P value, BindableType<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameter
(QueryParameter<P> parameter, P value, Class<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameter
(QueryParameter<P> parameter, P val, BindableType<P> type) <T> SelectionQuery<R>
SelectionQuery.setParameter
(QueryParameter<T> parameter, T value) SelectionQuery.setParameterList
(int position, Object[] values) SelectionQuery.setParameterList
(int position, Collection values) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(int position, Collection<? extends P> values, Class<P> javaType) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(int position, Collection<? extends P> values, BindableType<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(int position, P[] values, Class<P> javaType) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(int position, P[] values, BindableType<P> type) SelectionQuery.setParameterList
(String name, Object[] values) SelectionQuery.setParameterList
(String name, Collection values) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(String name, Collection<? extends P> values, Class<P> javaType) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(String name, Collection<? extends P> values, BindableType<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(String name, P[] values, Class<P> javaType) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(String name, P[] values, BindableType<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(QueryParameter<P> parameter, P[] values) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(QueryParameter<P> parameter, P[] values, Class<P> javaType) <P> SelectionQuery<R>
SelectionQuery.setParameterList
(QueryParameter<P> parameter, P[] values, BindableType<P> type) SelectionQuery.setProperties
(Object bean) SelectionQuery.setProperties
(Map bean) SelectionQuery.setQueryFlushMode
(QueryFlushMode queryFlushMode) SelectionQuery.setQueryPlanCacheable
(boolean queryPlanCacheable) Enable/disable query plan caching for this query.SelectionQuery.setReadOnly
(boolean readOnly) Set the read-only/modifiable mode for entities and proxies loaded by thisQuery
.SelectionQuery.setTimeout
(int timeout) -
Uses of SelectionQuery in org.hibernate.query.criteria
Methods in org.hibernate.query.criteria that return SelectionQuery -
Uses of SelectionQuery in org.hibernate.query.hql.spi
Subinterfaces of SelectionQuery in org.hibernate.query.hql.spiModifier and TypeInterfaceDescriptioninterface
QueryImplementor
specialization for SQM-based Query references -
Uses of SelectionQuery in org.hibernate.query.spi
Subinterfaces of SelectionQuery in org.hibernate.query.spiClasses in org.hibernate.query.spi that implement SelectionQueryMethods in org.hibernate.query.spi that return SelectionQueryModifier and TypeMethodDescriptionAbstractSelectionQuery.disableFetchProfile
(String profileName) AbstractSelectionQuery.enableFetchProfile
(String profileName) AbstractSelectionQuery.setCacheable
(boolean cacheable) AbstractSelectionQuery.setCacheMode
(CacheMode cacheMode) AbstractSelectionQuery.setCacheRegion
(String regionName) AbstractSelectionQuery.setCacheRetrieveMode
(CacheRetrieveMode cacheRetrieveMode) AbstractSelectionQuery.setCacheStoreMode
(CacheStoreMode cacheStoreMode) AbstractSelectionQuery.setComment
(String comment) AbstractSelectionQuery.setEntityGraph
(EntityGraph<R> graph, GraphSemantic semantic) AbstractSelectionQuery.setFetchSize
(int fetchSize) AbstractSelectionQuery.setFirstResult
(int startPosition) AbstractSelectionQuery.setFlushMode
(FlushModeType flushMode) AbstractSelectionQuery.setFollowOnLocking
(boolean enable) Specifies whether follow-on locking should be applied?AbstractSelectionQuery.setHibernateFlushMode
(FlushMode flushMode) AbstractSelectionQuery.setHibernateLockMode
(LockMode lockMode) Specify the root LockMode for the queryAbstractSelectionQuery.setLockMode
(LockModeType lockMode) Specify the root LockModeType for the queryAbstractSelectionQuery.setLockMode
(String alias, LockMode lockMode) AbstractSelectionQuery.setMaxResults
(int maxResult) AbstractSelectionQuery.setParameter
(int position, Object value) AbstractSelectionQuery.setParameter
(int position, Instant value, TemporalType temporalType) AbstractSelectionQuery.setParameter
(int position, Calendar value, TemporalType temporalType) AbstractSelectionQuery.setParameter
(int position, Date value, TemporalType temporalType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(int position, P value, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(int position, P value, BindableType<P> type) AbstractSelectionQuery.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) AbstractSelectionQuery.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(Parameter<P> parameter, P value) AbstractSelectionQuery.setParameter
(String name, Object value) AbstractSelectionQuery.setParameter
(String name, Instant value, TemporalType temporalType) AbstractSelectionQuery.setParameter
(String name, Calendar value, TemporalType temporalType) AbstractSelectionQuery.setParameter
(String name, Date value, TemporalType temporalType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(String name, P value, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(String name, P value, BindableType<P> type) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(QueryParameter<P> parameter, P value) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(QueryParameter<P> parameter, P value, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameter
(QueryParameter<P> parameter, P value, BindableType<P> type) AbstractSelectionQuery.setParameterList
(int position, Object[] values) AbstractSelectionQuery.setParameterList
(int position, Collection values) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(int position, Collection<? extends P> values, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(int position, Collection<? extends P> values, BindableType<P> type) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(int position, P[] values, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(int position, P[] values, BindableType<P> type) AbstractSelectionQuery.setParameterList
(String name, Object[] values) AbstractSelectionQuery.setParameterList
(String name, Collection values) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(String name, Collection<? extends P> values, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(String name, Collection<? extends P> values, BindableType<P> type) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(String name, P[] values, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(String name, P[] values, BindableType<P> type) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(QueryParameter<P> parameter, P[] values) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(QueryParameter<P> parameter, P[] values, Class<P> javaType) <P> SelectionQuery<R>
AbstractSelectionQuery.setParameterList
(QueryParameter<P> parameter, P[] values, BindableType<P> type) AbstractSelectionQuery.setProperties
(Object bean) AbstractSelectionQuery.setProperties
(Map map) AbstractSelectionQuery.setQueryFlushMode
(QueryFlushMode queryFlushMode) AbstractSelectionQuery.setQueryPlanCacheable
(boolean queryPlanCacheable) AbstractSelectionQuery.setReadOnly
(boolean readOnly) AbstractSelectionQuery.setTimeout
(int timeout) -
Uses of SelectionQuery in org.hibernate.query.sql.internal
Classes in org.hibernate.query.sql.internal that implement SelectionQuery -
Uses of SelectionQuery in org.hibernate.query.sql.spi
Subinterfaces of SelectionQuery in org.hibernate.query.sql.spi -
Uses of SelectionQuery in org.hibernate.query.sqm
Subinterfaces of SelectionQuery in org.hibernate.query.sqm -
Uses of SelectionQuery in org.hibernate.query.sqm.internal
Classes in org.hibernate.query.sqm.internal that implement SelectionQueryModifier and TypeClassDescriptionclass
QuerySqmImpl<R>
Query
implementation based on an SQMclass
-
Uses of SelectionQuery in org.hibernate.query.sqm.spi
Subinterfaces of SelectionQuery in org.hibernate.query.sqm.spiClasses in org.hibernate.query.sqm.spi that implement SelectionQuery
QueryProducer.createNamedSelectionQuery(String, Class)