Interface ReactiveNativeQuery<R>
- All Superinterfaces:
org.hibernate.query.CommonQueryContract
,ReactiveMutationQuery<R>
,ReactiveQuery<R>
,ReactiveSelectionQuery<R>
- All Known Subinterfaces:
ReactiveNativeQueryImplementor<R>
- All Known Implementing Classes:
ReactiveNativeQueryImpl
- See Also:
-
NativeQuery
-
Method Summary
Modifier and TypeMethodDescriptionaddAttributeResult
(String columnAlias, jakarta.persistence.metamodel.SingularAttribute attribute) addAttributeResult
(String columnAlias, Class entityJavaType, String attributePath) addAttributeResult
(String columnAlias, String entityName, String attributePath) org.hibernate.query.NativeQuery.FetchReturn
<J> org.hibernate.query.NativeQuery.InstantiationResultNode<J>
addInstantiation
(Class<J> targetJavaType) addQueryHint
(String hint) void
addResultTypeClass
(Class<?> resultClass) org.hibernate.query.NativeQuery.RootReturn
org.hibernate.query.NativeQuery.RootReturn
<C> ReactiveNativeQuery<R>
addScalar
(String columnAlias, Class<C> relationalJavaType, jakarta.persistence.AttributeConverter<?, C> converter) <C> ReactiveNativeQuery<R>
addScalar
(String columnAlias, Class<C> relationalJavaType, Class<? extends jakarta.persistence.AttributeConverter<?, C>> converter) <O,
T> ReactiveNativeQuery<R> addScalar
(String columnAlias, Class<O> domainJavaType, Class<T> jdbcJavaType, jakarta.persistence.AttributeConverter<O, T> converter) <O,
T> ReactiveNativeQuery<R> addScalar
(String columnAlias, Class<O> domainJavaType, Class<T> jdbcJavaType, Class<? extends jakarta.persistence.AttributeConverter<O, T>> converter) org.hibernate.LockMode
jakarta.persistence.LockModeType
Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.org.hibernate.LockOptions
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) setHibernateLockMode
(org.hibernate.LockMode lockMode) setLockMode
(jakarta.persistence.LockModeType lockMode) Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.setLockMode
(String alias, org.hibernate.LockMode lockMode) Not applicable to native SQL queries.setLockOptions
(org.hibernate.LockOptions lockOptions) setMaxResults
(int maxResult) setParameter
(int position, Object value) Bind the given argument to an ordinal query parameter.setParameter
(int position, Instant value, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.setParameter
(int position, Calendar value, jakarta.persistence.TemporalType temporalType) Query
overridesetParameter
(int position, Date value, jakarta.persistence.TemporalType temporalType) Query
override<P> ReactiveNativeQuery<R>
setParameter
(int position, P val, jakarta.persistence.metamodel.Type<P> type) Bind the given argument to an ordinal query parameter using the givenType
.<P> ReactiveNativeQuery<R>
setParameter
(int position, P val, 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> param, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType) <P> ReactiveNativeQuery<R>
setParameter
(jakarta.persistence.Parameter<P> param, P value) setParameter
(String name, Object value) setParameter
(String name, Instant value, jakarta.persistence.TemporalType temporalType) Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.setParameter
(String name, Calendar value, jakarta.persistence.TemporalType temporalType) setParameter
(String name, Date value, jakarta.persistence.TemporalType temporalType) <P> ReactiveNativeQuery<R>
setParameter
(String name, P val, jakarta.persistence.metamodel.Type<P> type) <P> ReactiveNativeQuery<R>
setParameter
(String name, P val, Class<P> type) <P> ReactiveNativeQuery<R>
setParameter
(org.hibernate.query.QueryParameter<P> parameter, P val) <P> ReactiveNativeQuery<R>
setParameter
(org.hibernate.query.QueryParameter<P> parameter, P val, jakarta.persistence.metamodel.Type<P> type) <P> ReactiveNativeQuery<R>
setParameter
(org.hibernate.query.QueryParameter<P> parameter, P val, Class<P> type) setParameterList
(int position, Object[] values) Bind multiple arguments to an ordinal query parameter.setParameterList
(int position, Collection values) Bind multiple arguments to an ordinal query parameter.<P> ReactiveNativeQuery<R>
setParameterList
(int position, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenType
.<P> ReactiveNativeQuery<R>
setParameterList
(int position, Collection<? extends P> values, Class<P> type) Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theType
to use.<P> ReactiveNativeQuery<R>
setParameterList
(int position, P[] values, jakarta.persistence.metamodel.Type<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenType
.<P> ReactiveNativeQuery<R>
setParameterList
(int position, P[] values, Class<P> javaType) Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theType
to use.setParameterList
(String name, Object[] values) Bind multiple arguments to a named query parameter.setParameterList
(String name, Collection values) <P> ReactiveNativeQuery<R>
setParameterList
(String name, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.<P> ReactiveNativeQuery<R>
setParameterList
(String name, Collection<? extends P> values, Class<P> type) <P> ReactiveNativeQuery<R>
setParameterList
(String name, P[] values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to a named query parameter using the givenType
.<P> ReactiveNativeQuery<R>
setParameterList
(String name, P[] values, Class<P> type) Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theType
to use.<P> ReactiveNativeQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values) Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<P> ReactiveNativeQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.<P> ReactiveNativeQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values, 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> ReactiveNativeQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, P[] values) Bind multiple arguments to the query parameter represented by the givenQueryParameter
<P> ReactiveNativeQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, P[] values, jakarta.persistence.metamodel.Type<P> type) Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theType
.<P> ReactiveNativeQuery<R>
setParameterList
(org.hibernate.query.QueryParameter<P> parameter, P[] values, 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> ReactiveNativeQuery<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.ReactiveQuery
getComment, getParameterMetadata, getQueryOptions, getQueryString
Methods inherited from interface org.hibernate.reactive.query.ReactiveSelectionQuery
applyGraph, enableFetchProfile, getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getMaxResults, getReactiveResultCount, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setFollowOnLocking
-
Method Details
-
addScalar
-
addScalar
-
addScalar
ReactiveNativeQuery<R> addScalar(String columnAlias, org.hibernate.metamodel.model.domain.BasicDomainType type) -
addScalar
-
addScalar
-
addScalar
<C> ReactiveNativeQuery<R> addScalar(String columnAlias, Class<C> relationalJavaType, jakarta.persistence.AttributeConverter<?, C> converter) -
addScalar
<O,T> ReactiveNativeQuery<R> addScalar(String columnAlias, Class<O> domainJavaType, Class<T> jdbcJavaType, jakarta.persistence.AttributeConverter<O, T> converter) -
addScalar
<C> ReactiveNativeQuery<R> addScalar(String columnAlias, Class<C> relationalJavaType, Class<? extends jakarta.persistence.AttributeConverter<?, C>> converter) -
addScalar
-
addInstantiation
<J> org.hibernate.query.NativeQuery.InstantiationResultNode<J> addInstantiation(Class<J> targetJavaType) -
addAttributeResult
ReactiveNativeQuery<R> addAttributeResult(String columnAlias, Class entityJavaType, String attributePath) -
addAttributeResult
ReactiveNativeQuery<R> addAttributeResult(String columnAlias, String entityName, String attributePath) -
addAttributeResult
ReactiveNativeQuery<R> addAttributeResult(String columnAlias, jakarta.persistence.metamodel.SingularAttribute attribute) -
addRoot
-
addRoot
-
addEntity
-
addEntity
-
addEntity
ReactiveNativeQuery<R> addEntity(String tableAlias, String entityName, org.hibernate.LockMode lockMode) -
addEntity
-
addEntity
-
addEntity
ReactiveNativeQuery<R> addEntity(String tableAlias, Class entityClass, org.hibernate.LockMode lockMode) -
addFetch
-
addJoin
-
addJoin
-
addJoin
-
addResultTypeClass
-
setHibernateFlushMode
- Specified by:
setHibernateFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHibernateFlushMode
in interfaceReactiveMutationQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveSelectionQuery<R>
-
setFlushMode
- Specified by:
setFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setFlushMode
in interfaceReactiveQuery<R>
- Specified by:
setFlushMode
in interfaceReactiveSelectionQuery<R>
-
setCacheMode
- Specified by:
setCacheMode
in interfaceReactiveQuery<R>
- Specified by:
setCacheMode
in interfaceReactiveSelectionQuery<R>
-
setCacheStoreMode
- Specified by:
setCacheStoreMode
in interfaceReactiveQuery<R>
- Specified by:
setCacheStoreMode
in interfaceReactiveSelectionQuery<R>
-
setCacheRetrieveMode
ReactiveNativeQuery<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode) - Specified by:
setCacheRetrieveMode
in interfaceReactiveQuery<R>
- Specified by:
setCacheRetrieveMode
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setCacheable
- Specified by:
setCacheable
in interfaceReactiveQuery<R>
- Specified by:
setCacheable
in interfaceReactiveSelectionQuery<R>
-
setCacheRegion
- Specified by:
setCacheRegion
in interfaceReactiveQuery<R>
- Specified by:
setCacheRegion
in interfaceReactiveSelectionQuery<R>
-
setTimeout
- Specified by:
setTimeout
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setTimeout
in interfaceReactiveQuery<R>
- Specified by:
setTimeout
in interfaceReactiveSelectionQuery<R>
-
setFetchSize
- Specified by:
setFetchSize
in interfaceReactiveQuery<R>
- Specified by:
setFetchSize
in interfaceReactiveSelectionQuery<R>
-
setReadOnly
- Specified by:
setReadOnly
in interfaceReactiveQuery<R>
- Specified by:
setReadOnly
in interfaceReactiveSelectionQuery<R>
-
getLockOptions
org.hibernate.LockOptions getLockOptions()- Specified by:
getLockOptions
in interfaceReactiveQuery<R>
- Specified by:
getLockOptions
in interfaceReactiveSelectionQuery<R>
-
setLockOptions
- Specified by:
setLockOptions
in interfaceReactiveQuery<R>
-
setLockMode
Not applicable to native SQL queries.- Specified by:
setLockMode
in interfaceReactiveQuery<R>
- Specified by:
setLockMode
in interfaceReactiveSelectionQuery<R>
- Throws:
IllegalStateException
- for consistency with JPA
-
setComment
- Specified by:
setComment
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setComment
in interfaceReactiveQuery<R>
-
addQueryHint
- Specified by:
addQueryHint
in interfaceReactiveQuery<R>
-
setMaxResults
- Specified by:
setMaxResults
in interfaceReactiveQuery<R>
- Specified by:
setMaxResults
in interfaceReactiveSelectionQuery<R>
-
setFirstResult
- Specified by:
setFirstResult
in interfaceReactiveQuery<R>
- Specified by:
setFirstResult
in interfaceReactiveSelectionQuery<R>
-
setHint
- Specified by:
setHint
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHint
in interfaceReactiveQuery<R>
- Specified by:
setHint
in interfaceReactiveSelectionQuery<R>
-
getLockMode
jakarta.persistence.LockModeType getLockMode()Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.Use
getHibernateLockMode()
to obtain the lock mode.- Specified by:
getLockMode
in interfaceReactiveSelectionQuery<R>
- Throws:
IllegalStateException
- as required by JPA
-
getHibernateLockMode
org.hibernate.LockMode getHibernateLockMode()- Specified by:
getHibernateLockMode
in interfaceReactiveSelectionQuery<R>
-
setLockMode
Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.Use
setHibernateLockMode(LockMode)
or the hint named "org.hibernate.lockMode" to set the lock mode.- Specified by:
setLockMode
in interfaceReactiveQuery<R>
- Specified by:
setLockMode
in interfaceReactiveSelectionQuery<R>
- Throws:
IllegalStateException
- as required by JPA
-
setHibernateLockMode
- Specified by:
setHibernateLockMode
in interfaceReactiveSelectionQuery<R>
-
setTupleTransformer
- Specified by:
setTupleTransformer
in interfaceReactiveQuery<R>
-
setResultListTransformer
ReactiveNativeQuery<R> setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer) - Specified by:
setResultListTransformer
in interfaceReactiveQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(String name, P val, jakarta.persistence.metamodel.Type<P> type) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(String name, Instant value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(String name, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(String name, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setParameter
Description copied from interface:ReactiveQuery
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
,ReactiveQuery.setParameter(int, Object)
is used.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(int position, P val, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, Instant value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, Calendar value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, Date value, jakarta.persistence.TemporalType temporalType) Description copied from interface:ReactiveQuery
Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, Class<P> type) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, jakarta.persistence.metamodel.Type<P> type) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<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 interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(String name, Collection<? extends P> values, Class<P> type) - Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(String name, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
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
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(String name, P[] values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, Collection<? extends P> values, Class<P> type) Description copied from interface:ReactiveQuery
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
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> javaType) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Description copied from interface:ReactiveQuery
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
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, P[] values, jakarta.persistence.metamodel.Type<P> javaType) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType) Description copied from interface:ReactiveQuery
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
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, Collection<? extends P> values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, Class<P> javaType) Description copied from interface:ReactiveQuery
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
,ReactiveQuery.setParameterList(String, Collection)
is used- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, jakarta.persistence.metamodel.Type<P> type) Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setProperties
in interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- any JavaBean or POJO- Returns:
this
, for method chaining
-
setProperties
Description copied from interface:ReactiveQuery
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 interfaceReactiveQuery<R>
- Specified by:
setProperties
in interfaceReactiveSelectionQuery<R>
- Parameters:
bean
- aMap
of names to arguments- Returns:
this
, for method chaining
-