Package org.hibernate.reactive.query
Interface ReactiveQuery<R>
- All Superinterfaces:
org.hibernate.query.CommonQueryContract
,ReactiveMutationQuery<R>
,ReactiveSelectionQuery<R>
- All Known Subinterfaces:
ReactiveNativeQuery<R>
,ReactiveNativeQueryImplementor<R>
,ReactiveQueryImplementor<R>
,ReactiveSqmQueryImplementor<R>
- All Known Implementing Classes:
ReactiveNativeQueryImpl
,ReactiveQuerySqmImpl
- See Also:
-
Query
-
Method Summary
Modifier and TypeMethodDescriptionaddQueryHint
(String hint) org.hibernate.LockOptions
org.hibernate.query.ParameterMetadata
org.hibernate.query.spi.QueryOptions
setCacheable
(boolean cacheable) setCacheMode
(org.hibernate.CacheMode cacheMode) setCacheRegion
(String cacheRegion) setCacheRetrieveMode
(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode) setCacheStoreMode
(jakarta.persistence.CacheStoreMode cacheStoreMode) setComment
(String comment) setFetchSize
(int fetchSize) setFirstResult
(int startPosition) setFlushMode
(jakarta.persistence.FlushModeType flushMode) setHibernateFlushMode
(org.hibernate.FlushMode flushMode) setLockMode
(jakarta.persistence.LockModeType lockMode) setLockMode
(String alias, org.hibernate.LockMode lockMode) setLockOptions
(org.hibernate.LockOptions lockOptions) setMaxResults
(int maxResult) setParameter
(int parameter, Object argument) Bind the given argument to an ordinal query parameter.setParameter
(int parameter, Instant argument, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.setParameter
(int parameter, Calendar argument, jakarta.persistence.TemporalType temporalType) Query
overridesetParameter
(int parameter, Date argument, jakarta.persistence.TemporalType temporalType) Query
override<P> ReactiveQuery<R>
setParameter
(int parameter, P argument, jakarta.persistence.metamodel.Type<P> type) Bind the given argument to an ordinal query parameter using the givenType
.<P> ReactiveQuery<R>
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 theType
to use.setParameter
(jakarta.persistence.Parameter<Calendar> parameter, Calendar argument, jakarta.persistence.TemporalType temporalType) setParameter
(jakarta.persistence.Parameter<Date> parameter, Date argument, jakarta.persistence.TemporalType temporalType) <T> ReactiveQuery<R>
setParameter
(jakarta.persistence.Parameter<T> parameter, T argument) setParameter
(String parameter, Object argument) setParameter
(String parameter, Instant argument, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.setParameter
(String parameter, Calendar argument, jakarta.persistence.TemporalType temporalType) setParameter
(String parameter, Date argument, jakarta.persistence.TemporalType temporalType) <P> ReactiveQuery<R>
setParameter
(String parameter, P argument, jakarta.persistence.metamodel.Type<P> type) <P> ReactiveQuery<R>
setParameter
(String parameter, P argument, Class<P> type) <P> ReactiveQuery<R>
setParameter
(org.hibernate.query.QueryParameter<P> parameter, P argument, jakarta.persistence.metamodel.Type<P> type) <P> ReactiveQuery<R>
setParameter
(org.hibernate.query.QueryParameter<P> parameter, P argument, Class<P> type) <T> ReactiveQuery<R>
setParameter
(org.hibernate.query.QueryParameter<T> parameter, T argument) setParameterList
(int parameter, Object[] arguments) Bind multiple arguments to an ordinal query parameter.setParameterList
(int parameter, Collection arguments) Bind multiple arguments to an ordinal query parameter.<P> ReactiveQuery<R>
setParameterList
(int parameter, Collection<? extends P> arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType
.<P> ReactiveQuery<R>
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 theType
to use.<P> ReactiveQuery<R>
setParameterList
(int parameter, P[] arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType
.<P> ReactiveQuery<R>
setParameterList
(int parameter, P[] arguments, Class<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theType
to use.setParameterList
(String parameter, Object[] values) Bind multiple arguments to a named query parameter.setParameterList
(String parameter, Collection arguments) <P> ReactiveQuery<R>
setParameterList
(String parameter, Collection<? extends P> arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.<P> ReactiveQuery<R>
setParameterList
(String parameter, Collection<? extends P> arguments, Class<P> javaType) <P> ReactiveQuery<R>
setParameterList
(String parameter, P[] arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.<P> ReactiveQuery<R>
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 theType
to use.<P> ReactiveQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> arguments) Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<P> ReactiveQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.<P> ReactiveQuery<R>
setParameterList
(org.hibernate.query.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 theType
to use.<P> ReactiveQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, P[] arguments) Bind multiple arguments to the query parameter represented by the givenQueryParameter
<P> ReactiveQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.<P> ReactiveQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, 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 theType
to use.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.setProperties
(Map bean) Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.setReadOnly
(boolean readOnly) setResultListTransformer
(org.hibernate.query.ResultListTransformer<R> transformer) setTimeout
(int timeout) <T> ReactiveQuery<T>
setTupleTransformer
(org.hibernate.query.TupleTransformer<T> transformer) Methods inherited from interface org.hibernate.query.CommonQueryContract
getFlushMode, getHibernateFlushMode, getQueryFlushMode, getTimeout, setQueryFlushMode, setTimeout
Methods inherited from interface org.hibernate.reactive.query.ReactiveMutationQuery
executeReactiveUpdate
Methods inherited from interface org.hibernate.reactive.query.ReactiveSelectionQuery
applyGraph, enableFetchProfile, getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getHibernateLockMode, getLockMode, getMaxResults, getReactiveResultCount, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setFollowOnLocking, setHibernateLockMode
-
Method Details
-
getQueryString
String getQueryString()- Specified by:
getQueryString
in interfaceReactiveSelectionQuery<R>
-
getComment
String getComment()- Specified by:
getComment
in interfaceorg.hibernate.query.CommonQueryContract
-
setComment
- Specified by:
setComment
in interfaceorg.hibernate.query.CommonQueryContract
-
addQueryHint
-
getLockOptions
org.hibernate.LockOptions getLockOptions()- Specified by:
getLockOptions
in interfaceReactiveSelectionQuery<R>
-
setLockOptions
-
setLockMode
- Specified by:
setLockMode
in interfaceReactiveSelectionQuery<R>
-
setTupleTransformer
-
setResultListTransformer
-
getQueryOptions
org.hibernate.query.spi.QueryOptions getQueryOptions() -
getParameterMetadata
org.hibernate.query.ParameterMetadata getParameterMetadata()- Specified by:
getParameterMetadata
in interfaceorg.hibernate.query.CommonQueryContract
-
setParameter
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(String parameter, P argument, jakarta.persistence.metamodel.Type<P> type) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(String parameter, Instant argument, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(String parameter, Calendar argument, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(String parameter, Date argument, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
Bind the given argument to an ordinal query parameter.If the type of the parameter cannot be inferred from the context in which it occurs, use one of the forms which accepts a "type".
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setParameter
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,setParameter(int, Object)
is used.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setParameter
<P> ReactiveQuery<R> setParameter(int parameter, P argument, jakarta.persistence.metamodel.Type<P> type) Bind the given argument to an ordinal query parameter using the givenType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, Instant argument, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, Date argument, jakarta.persistence.TemporalType temporalType) Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(int parameter, Calendar argument, jakarta.persistence.TemporalType temporalType) Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, Class<P> type) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, jakarta.persistence.metamodel.Type<P> type) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(jakarta.persistence.Parameter<Calendar> parameter, Calendar argument, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveQuery<R> setParameter(jakarta.persistence.Parameter<Date> parameter, Date argument, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQuery<R> setParameterList(String parameter, Collection<? extends P> arguments, Class<P> javaType) - Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveQuery<R> setParameterList(String parameter, Collection<? extends P> arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Bind multiple arguments to a named query parameter. The "type mapping" for the binding is inferred from the type of the first collection element.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theType
to use. If unable to determine an appropriateType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveQuery<R> setParameterList(String parameter, P[] arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Bind multiple arguments to an ordinal query parameter. The "type mapping" for the binding is inferred from the type of the first collection element.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQuery<R> 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 theType
to use. If unable to determine an appropriateType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveQuery<R> setParameterList(int parameter, Collection<? extends P> arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Bind multiple arguments to an ordinal query parameter.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theType
to use. If unable to determine an appropriateType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveQuery<R> setParameterList(int parameter, P[] arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to an ordinal query parameter using the givenType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> arguments) Bind multiple arguments to the query parameter represented by the givenQueryParameter
.The type of the parameter is inferred from the context in which it occurs, and from the type of the first given argument.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementoarguments
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.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 theType
to use. If unable to determine an appropriateType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments) Bind multiple arguments to the query parameter represented by the givenQueryParameter
The type of the parameter is inferred between the context in which it occurs, the type associated with the QueryParameter and the type of the first given argument.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementoarguments
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, 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 theType
to use. If unable to determine an appropriateType
,setParameterList(String, Collection)
is used- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.The "type mapping" for the binding is inferred from the type of the first collection element
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
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.- Specified by:
setProperties
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setProperties
in interfaceReactiveMutationQuery<R>
- Specified by:
setProperties
in interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- any JavaBean or POJO- Returns:
this
, for method chaining
-
setProperties
Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.- Specified by:
setProperties
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setProperties
in interfaceReactiveMutationQuery<R>
- Specified by:
setProperties
in interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- aMap
of names to arguments- Returns:
this
, for method chaining
-
setHibernateFlushMode
- Specified by:
setHibernateFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHibernateFlushMode
in interfaceReactiveMutationQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveSelectionQuery<R>
-
setCacheable
- Specified by:
setCacheable
in interfaceReactiveSelectionQuery<R>
-
setCacheRegion
- Specified by:
setCacheRegion
in interfaceReactiveSelectionQuery<R>
-
setCacheMode
- Specified by:
setCacheMode
in interfaceReactiveSelectionQuery<R>
-
setCacheStoreMode
- Specified by:
setCacheStoreMode
in interfaceReactiveSelectionQuery<R>
-
setCacheRetrieveMode
- Specified by:
setCacheRetrieveMode
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setTimeout
- Specified by:
setTimeout
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setTimeout
in interfaceReactiveSelectionQuery<R>
-
setFetchSize
- Specified by:
setFetchSize
in interfaceReactiveSelectionQuery<R>
-
setReadOnly
- Specified by:
setReadOnly
in interfaceReactiveSelectionQuery<R>
-
setMaxResults
- Specified by:
setMaxResults
in interfaceReactiveSelectionQuery<R>
-
setFirstResult
- Specified by:
setFirstResult
in interfaceReactiveSelectionQuery<R>
-
setHint
- Specified by:
setHint
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHint
in interfaceReactiveSelectionQuery<R>
-
setFlushMode
- Specified by:
setFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setFlushMode
in interfaceReactiveSelectionQuery<R>
-
setLockMode
- Specified by:
setLockMode
in interfaceReactiveSelectionQuery<R>
-