Uses of Interface
org.hibernate.query.CommonQueryContract
Packages that use CommonQueryContract
Package
Description
Defines support for executing database stored procedures and functions and accessing their outputs.
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.
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 CommonQueryContract in org.hibernate.procedure
Subinterfaces of CommonQueryContract in org.hibernate.procedureModifier and TypeInterfaceDescriptioninterface
Defines support for executing database stored procedures and functions. -
Uses of CommonQueryContract in org.hibernate.procedure.internal
Classes in org.hibernate.procedure.internal that implement CommonQueryContract -
Uses of CommonQueryContract in org.hibernate.procedure.spi
Subinterfaces of CommonQueryContract in org.hibernate.procedure.spi -
Uses of CommonQueryContract in org.hibernate.query
Subinterfaces of CommonQueryContract in org.hibernate.queryModifier and TypeInterfaceDescriptioninterface
Within the context of an active session, an instance of this type represents an executable mutation query, that is, aninsert
,update
, ordelete
.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.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.interface
Within the context of an active session, an instance of this type represents an executable selection query, that is, aselect
.Methods in org.hibernate.query that return CommonQueryContractModifier and TypeMethodDescriptionCommonQueryContract.setComment
(String comment) Set a comment for this query.CommonQueryContract.setFlushMode
(FlushModeType flushMode) Deprecated.CommonQueryContract.setHibernateFlushMode
(FlushMode flushMode) Deprecated.Set a hint.CommonQueryContract.setParameter
(int parameter, Object value) Bind the given argument to an ordinal query parameter.CommonQueryContract.setParameter
(int parameter, Instant value, TemporalType temporalType) Bind anInstant
to an ordinal query parameter using just the portion indicated by the givenTemporalType
.CommonQueryContract.setParameter
(int parameter, Calendar value, TemporalType temporalType) CommonQueryContract.setParameter
(int parameter, Date value, TemporalType temporalType) CommonQueryContract.setParameter
(int parameter, P value, Class<P> type) Bind the given argument to an ordinal query parameter using the givenClass
reference to attempt to infer theBindableType
.CommonQueryContract.setParameter
(int parameter, P value, BindableType<P> type) Bind the given argument to an ordinal query parameter using the givenBindableType
.CommonQueryContract.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) CommonQueryContract.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) CommonQueryContract.setParameter
(Parameter<T> param, T value) CommonQueryContract.setParameter
(String parameter, Object value) Bind the given argument to a named query parameter.CommonQueryContract.setParameter
(String parameter, Instant value, TemporalType temporalType) Bind anInstant
to the named query parameter using just the portion indicated by the givenTemporalType
.CommonQueryContract.setParameter
(String parameter, Calendar value, TemporalType temporalType) CommonQueryContract.setParameter
(String parameter, Date value, TemporalType temporalType) CommonQueryContract.setParameter
(String parameter, P value, Class<P> type) Bind the given argument to a named query parameter using the givenClass
reference to attempt to infer theBindableType
.CommonQueryContract.setParameter
(String parameter, P value, BindableType<P> type) Bind the given argument to a named query parameter using the givenBindableType
.CommonQueryContract.setParameter
(QueryParameter<P> parameter, P value, Class<P> type) Bind an argument to the query parameter represented by the givenQueryParameter
, using the givenClass
reference to attempt to infer theBindableType
to use.CommonQueryContract.setParameter
(QueryParameter<P> parameter, P val, BindableType<P> type) Bind an argument to the query parameter represented by the givenQueryParameter
, using the givenBindableType
.CommonQueryContract.setParameter
(QueryParameter<T> parameter, T value) Bind an argument to the query parameter represented by the givenQueryParameter
.CommonQueryContract.setParameterList
(int parameter, Object[] values) Bind multiple arguments to an ordinal query parameter.CommonQueryContract.setParameterList
(int parameter, Collection values) Bind multiple arguments to an ordinal query parameter.CommonQueryContract.setParameterList
(int parameter, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to infer theBindableType
.CommonQueryContract.setParameterList
(int parameter, Collection<? extends P> values, BindableType<P> type) Bind multiple arguments to an ordinal query parameter using the givenBindableType
.CommonQueryContract.setParameterList
(int parameter, P[] values, Class<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to infer theBindableType
.CommonQueryContract.setParameterList
(int parameter, P[] values, BindableType<P> type) Bind multiple arguments to an ordinal query parameter using the givenBindableType
.CommonQueryContract.setParameterList
(String parameter, Object[] values) Bind multiple arguments to a named query parameter.CommonQueryContract.setParameterList
(String parameter, Collection values) Bind multiple arguments to a named query parameter.CommonQueryContract.setParameterList
(String parameter, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to a named query parameter using the givenClass
reference to attempt to infer theBindableType
If unable to infer an appropriateBindableType
, fall back tosetParameterList(String, Collection)
.CommonQueryContract.setParameterList
(String parameter, Collection<? extends P> values, BindableType<P> type) Bind multiple arguments to a named query parameter using the givenBindableType
.CommonQueryContract.setParameterList
(String parameter, P[] values, Class<P> javaType) Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableType
to use.CommonQueryContract.setParameterList
(String parameter, P[] values, BindableType<P> type) Bind multiple arguments to a named query parameter using the givenBindableType
.CommonQueryContract.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values) Bind multiple arguments to the query parameter represented by the givenQueryParameter
.CommonQueryContract.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the givenClass
reference to attempt to infer theBindableType
to use.CommonQueryContract.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, using the givenBindableType
.CommonQueryContract.setParameterList
(QueryParameter<P> parameter, P[] values) Bind multiple arguments to the query parameter represented by the givenQueryParameter
.CommonQueryContract.setParameterList
(QueryParameter<P> parameter, P[] values, Class<P> javaType) Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the givenClass
reference to attempt to infer theBindableType
to use.CommonQueryContract.setParameterList
(QueryParameter<P> parameter, P[] values, BindableType<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, using the given theBindableType
.CommonQueryContract.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.CommonQueryContract.setProperties
(Map bean) Bind the values of the givenMap
to named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.CommonQueryContract.setQueryFlushMode
(QueryFlushMode queryFlushMode) Set theQueryFlushMode
to use for this query.CommonQueryContract.setTimeout
(int timeout) Set the query timeout in seconds. -
Uses of CommonQueryContract in org.hibernate.query.hql.spi
Subinterfaces of CommonQueryContract in org.hibernate.query.hql.spiModifier and TypeInterfaceDescriptioninterface
QueryImplementor
specialization for SQM-based Query references -
Uses of CommonQueryContract in org.hibernate.query.spi
Subinterfaces of CommonQueryContract in org.hibernate.query.spiModifier and TypeInterfaceDescriptioninterface
interface
Query based on an SQM tree.Classes in org.hibernate.query.spi that implement CommonQueryContractModifier and TypeClassDescriptionclass
class
class
Methods in org.hibernate.query.spi that return CommonQueryContractModifier and TypeMethodDescriptionAbstractCommonQueryContract.setComment
(String comment) AbstractCommonQueryContract.setHibernateFlushMode
(FlushMode flushMode) AbstractCommonQueryContract.setParameter
(int position, Object value) AbstractCommonQueryContract.setParameter
(int position, Instant value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(int position, Calendar value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(int position, Date value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(int position, P value, Class<P> javaType) AbstractCommonQueryContract.setParameter
(int position, P value, BindableType<P> type) AbstractCommonQueryContract.setParameter
(Parameter<Calendar> param, Calendar value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(Parameter<Date> param, Date value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(Parameter<P> parameter, P value) AbstractCommonQueryContract.setParameter
(String name, Object value) AbstractCommonQueryContract.setParameter
(String name, Instant value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(String name, Calendar value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(String name, Date value, TemporalType temporalType) AbstractCommonQueryContract.setParameter
(String name, P value, Class<P> javaType) AbstractCommonQueryContract.setParameter
(String name, P value, BindableType<P> type) AbstractCommonQueryContract.setParameter
(QueryParameter<P> parameter, P value) AbstractCommonQueryContract.setParameter
(QueryParameter<P> parameter, P value, Class<P> javaType) AbstractCommonQueryContract.setParameter
(QueryParameter<P> parameter, P value, BindableType<P> type) AbstractCommonQueryContract.setParameterList
(int position, Object[] values) AbstractCommonQueryContract.setParameterList
(int position, Collection values) AbstractCommonQueryContract.setParameterList
(int position, Collection<? extends P> values, Class<P> javaType) AbstractCommonQueryContract.setParameterList
(int position, Collection<? extends P> values, BindableType<P> type) AbstractCommonQueryContract.setParameterList
(int position, P[] values, Class<P> javaType) AbstractCommonQueryContract.setParameterList
(int position, P[] values, BindableType<P> type) AbstractCommonQueryContract.setParameterList
(String name, Object[] values) AbstractCommonQueryContract.setParameterList
(String name, Collection values) AbstractCommonQueryContract.setParameterList
(String name, Collection<? extends P> values, Class<P> javaType) AbstractCommonQueryContract.setParameterList
(String name, Collection<? extends P> values, BindableType<P> type) AbstractCommonQueryContract.setParameterList
(String name, P[] values, Class<P> javaType) AbstractCommonQueryContract.setParameterList
(String name, P[] values, BindableType<P> type) AbstractCommonQueryContract.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values) AbstractCommonQueryContract.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) AbstractCommonQueryContract.setParameterList
(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type) AbstractCommonQueryContract.setParameterList
(QueryParameter<P> parameter, P[] values) AbstractCommonQueryContract.setParameterList
(QueryParameter<P> parameter, P[] values, Class<P> javaType) AbstractCommonQueryContract.setParameterList
(QueryParameter<P> parameter, P[] values, BindableType<P> type) AbstractCommonQueryContract.setProperties
(Object bean) AbstractCommonQueryContract.setProperties
(Map map) AbstractCommonQueryContract.setQueryFlushMode
(QueryFlushMode queryFlushMode) AbstractCommonQueryContract.setTimeout
(int timeout) -
Uses of CommonQueryContract in org.hibernate.query.sql.internal
Classes in org.hibernate.query.sql.internal that implement CommonQueryContract -
Uses of CommonQueryContract in org.hibernate.query.sql.spi
Subinterfaces of CommonQueryContract in org.hibernate.query.sql.spi -
Uses of CommonQueryContract in org.hibernate.query.sqm
Subinterfaces of CommonQueryContract in org.hibernate.query.sqm -
Uses of CommonQueryContract in org.hibernate.query.sqm.internal
Classes in org.hibernate.query.sqm.internal that implement CommonQueryContractModifier and TypeClassDescriptionclass
QuerySqmImpl<R>
Query
implementation based on an SQMclass
-
Uses of CommonQueryContract in org.hibernate.query.sqm.spi
Subinterfaces of CommonQueryContract in org.hibernate.query.sqm.spiClasses in org.hibernate.query.sqm.spi that implement CommonQueryContract
setQueryFlushMode(QueryFlushMode)