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 ofSessionandStatelessSession, 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 QuerySession. createNamedQuery(String name)Deprecated.<R> Query<R>Session. createNamedQuery(String name, Class<R> resultClass)QuerySession. createQuery(CriteriaDelete deleteQuery)Deprecated.<R> Query<R>Session. createQuery(CriteriaQuery<R> criteriaQuery)QuerySession. createQuery(CriteriaUpdate updateQuery)Deprecated.QuerySession. 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 QuerySessionLazyDelegator. createNamedQuery(String name)Deprecated.<R> Query<R>SessionLazyDelegator. createNamedQuery(String name, Class<R> resultClass)QuerySessionLazyDelegator. createQuery(CriteriaDelete deleteQuery)Deprecated.<R> Query<R>SessionLazyDelegator. createQuery(CriteriaQuery<R> criteriaQuery)QuerySessionLazyDelegator. createQuery(CriteriaUpdate updateQuery)Deprecated.QuerySessionLazyDelegator. createQuery(String queryString)Deprecated.<R> Query<R>SessionLazyDelegator. createQuery(String queryString, Class<R> resultClass)QuerySessionLazyDelegator. 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 voidQueryParameterData. 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 QueryAbstractRelationQueryGenerator. getQuery(SharedSessionContractImplementor session, Object primaryKey, Number revision, boolean removed)QueryRelationQueryGenerator. 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, Instant instant)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 QueryQueryBuilder. toQuery(Session session)QueryUpdateBuilder. 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 QueryAbstractAuditQuery. buildQuery()Methods in org.hibernate.envers.query.internal.impl with parameters of type Query Modifier and Type Method Description protected voidAbstractAuditQuery. 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 voidAbstractSharedSessionContract. applyQuerySettingsAndHints(Query<?> query)protected voidSessionImpl. 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 classProcedureCallImpl<R>Standard implementation ofProcedureCallMethods 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 interfaceProcedureCallImplementor<R> -
Uses of Query in org.hibernate.query
Subinterfaces of Query in org.hibernate.query Modifier and Type Interface Description interfaceNativeQuery<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.QueryQueryProducer. createNamedQuery(String name)Deprecated.<R> Query<R>QueryProducer. createNamedQuery(String name, Class<R> resultClass)Create a typedQueryinstance for the given named query.QueryQueryProducer. createQuery(CriteriaDelete deleteQuery)Deprecated.<R> Query<R>QueryProducer. createQuery(CriteriaQuery<R> criteriaQuery)Create aQueryfor the given JPACriteriaQuery.QueryQueryProducer. createQuery(CriteriaUpdate updateQuery)Deprecated.QueryQueryProducer. 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 typedQueryinstance for the given HQL query string and given query result type.Query<R>Query. disableFetchProfile(String profileName)Query<R>Query. enableFetchProfile(String profileName)QueryQueryProducer. 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 theLockModeto use for particular alias defined in theFROMclause 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 anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.Query<R>Query. setParameter(int parameter, Calendar argument, TemporalType temporalType)QueryoverrideQuery<R>Query. setParameter(int parameter, Date argument, TemporalType temporalType)Queryoverride<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 theBindableTypeto 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)QueryoverrideQuery<R>Query. setParameter(Parameter<Date> parameter, Date argument, TemporalType temporalType)Queryoverride<T> Query<R>Query. setParameter(Parameter<T> parameter, T argument)QueryoverrideQuery<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 anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.Query<R>Query. setParameter(String parameter, Calendar argument, TemporalType temporalType)QueryoverrideQuery<R>Query. setParameter(String parameter, Date argument, TemporalType temporalType)Queryoverride<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 theBindableTypeto 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 givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use.<P> Query<R>Query. setParameter(QueryParameter<P> parameter, P argument, BindableType<P> type)Bind an argument to the query parameter represented by the givenQueryParameterusing 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 theBindableTypeto 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 givenClassreference to attempt to determine theBindableTypeto 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 theBindableTypeto 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 theBindableTypeto 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 givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto 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 givenQueryParameterusing the givenClassreference to attempt to determine theBindableTypeto 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 givenMapfor 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 interfaceSqmQueryImplementor<R>QueryImplementorspecialization 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 interfaceQueryImplementor<R>Classes in org.hibernate.query.spi that implement Query Modifier and Type Class Description classAbstractQuery<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 classNativeQueryImpl<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 interfaceNativeQueryImplementor<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 classQuerySqmImpl<R>Queryimplementation 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>> orders)Query<R>QuerySqmImpl. setOrder(Order<? super R> order)Query<R>QuerySqmImpl. setPage(Page page)
-