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 an SPI for calling stored procedures and functions.
Everything related to HQL/JPQL, native SQL, and criteria queries.
Support for SelectionSpecification
and MutationSpecification which
is similar in concept to criteria queries, but focused on ease-of-use and less verbosity.
Contains a range of internal abstractions for dealing with query execution,
query plans, query options, and query parameters.
SPIs for native SQL query support.
-
Uses of CommonQueryContract in org.hibernate.procedure
Subinterfaces of CommonQueryContract in org.hibernate.procedureModifier and TypeInterfaceDescriptioninterfaceDefines support for executing database stored procedures and functions using the JDBC stored procedure SQL escape syntax. -
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 TypeInterfaceDescriptioninterfaceWithin the context of an active session, an instance of this type represents an executable mutation query, that is, aninsert,update, ordelete.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.interfaceQuery<T>Within the context of an active session, an instance of this type represents an executable query, either: a Querywritten in HQL or native SQL, a named Query written in HQL or native SQL, or a criteria query. interfaceWithin 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.addQueryHint(String hint) Add a database query hint to the SQL query.CommonQueryContract.setComment(String comment) Set the comment for this query.CommonQueryContract.setConvertedParameter(int position, P value, Class<? extends AttributeConverter<P, ?>> converter) CommonQueryContract.setConvertedParameter(String name, P value, Class<? extends AttributeConverter<P, ?>> converter) 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) Deprecated.CommonQueryContract.setParameter(int parameter, Calendar value, TemporalType temporalType) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.setParameter(int parameter, Date value, TemporalType temporalType) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.setParameter(int parameter, P value, Type<P> type) Bind the given argument to an ordinal query parameter using the givenType.CommonQueryContract.setParameter(int parameter, P value, Class<P> type) CommonQueryContract.setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.setParameter(Parameter<Date> param, Date value, TemporalType temporalType) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.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) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.setParameter(String parameter, Calendar value, TemporalType temporalType) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.setParameter(String parameter, Date value, TemporalType temporalType) Deprecated.sinceTemporalTypeis deprecatedCommonQueryContract.setParameter(String parameter, P value, Type<P> type) Bind the given argument to a named query parameter using the givenType.CommonQueryContract.setParameter(String parameter, P value, Class<P> type) CommonQueryContract.setParameter(QueryParameter<P> parameter, P val, Type<P> type) Bind an argument to the query parameter represented by the givenQueryParameter, using the givenType.CommonQueryContract.setParameter(QueryParameter<P> parameter, P value, Class<P> type) Bind an argument to the query parameter represented by the givenQueryParameter, using the givenClassreference to attempt to infer theTypeto use.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, Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType.CommonQueryContract.setParameterList(int parameter, Collection<? extends P> values, Class<P> javaType) CommonQueryContract.setParameterList(int parameter, P[] values, Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType.CommonQueryContract.setParameterList(int parameter, P[] values, Class<P> javaType) 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, Type<P> type) Bind multiple arguments to a named query parameter using the givenType.CommonQueryContract.setParameterList(String parameter, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to a named query parameter using the givenClassreference to attempt to infer theTypeIf unable to infer an appropriateType, fall back toCommonQueryContract.setParameterList(String, Collection).CommonQueryContract.setParameterList(String parameter, P[] values, Type<P> type) Bind multiple arguments to a named query parameter using the givenType.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 theTypeto use.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, Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter, using the givenType.CommonQueryContract.setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the givenClassreference to attempt to infer theTypeto use.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, Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter, using the given theType.CommonQueryContract.setParameterList(QueryParameter<P> parameter, P[] values, Class<P> javaType) Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the givenClassreference to attempt to infer theTypeto use.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 givenMapto 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 theQueryFlushModeto use for this query.CommonQueryContract.setTimeout(int timeout) Apply a timeout to the corresponding database query.CommonQueryContract.setTimeout(Timeout timeout) Apply a timeout to the corresponding database query.CommonQueryContract.setTimeout(Integer timeout) Apply a timeout to the corresponding database query. -
Uses of CommonQueryContract in org.hibernate.query.specification
Methods in org.hibernate.query.specification that return CommonQueryContractModifier and TypeMethodDescriptionQuerySpecification.createQuery(EntityManager entityManager) Finalize the building and create executable query instance.QuerySpecification.createQuery(Session session) Finalize the building and create executable query instance.QuerySpecification.createQuery(StatelessSession session) Finalize the building and create executable query instance. -
Uses of CommonQueryContract in org.hibernate.query.spi
Subinterfaces of CommonQueryContract in org.hibernate.query.spiModifier and TypeInterfaceDescriptioninterfaceSPI form of CommonQueryContractinterfaceSPI form of MutationQueryinterfaceinterfaceSPI form of SelectionQuery -
Uses of CommonQueryContract in org.hibernate.query.sql.spi
Subinterfaces of CommonQueryContract in org.hibernate.query.sql.spi
TemporalTypeis deprecated