Interface ReactiveNativeQuery<R>
-
- All Superinterfaces:
CommonQueryContract
,ReactiveMutationQuery<R>
,ReactiveQuery<R>
,ReactiveSelectionQuery<R>
- All Known Subinterfaces:
ReactiveNativeQueryImplementor<R>
public interface ReactiveNativeQuery<R> extends ReactiveQuery<R>
- See Also:
NativeQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReactiveNativeQuery<R>
addAttributeResult(String columnAlias, jakarta.persistence.metamodel.SingularAttribute attribute)
ReactiveNativeQuery<R>
addAttributeResult(String columnAlias, Class entityJavaType, String attributePath)
ReactiveNativeQuery<R>
addAttributeResult(String columnAlias, String entityName, String attributePath)
ReactiveNativeQuery<R>
addEntity(Class entityType)
ReactiveNativeQuery<R>
addEntity(String entityName)
ReactiveNativeQuery<R>
addEntity(String tableAlias, Class entityType)
ReactiveNativeQuery<R>
addEntity(String tableAlias, Class entityClass, LockMode lockMode)
ReactiveNativeQuery<R>
addEntity(String tableAlias, String entityName)
ReactiveNativeQuery<R>
addEntity(String tableAlias, String entityName, LockMode lockMode)
NativeQuery.FetchReturn
addFetch(String tableAlias, String ownerTableAlias, String joinPropertyName)
<J> NativeQuery.InstantiationResultNode<J>
addInstantiation(Class<J> targetJavaType)
ReactiveNativeQuery<R>
addJoin(String tableAlias, String path)
ReactiveNativeQuery<R>
addJoin(String tableAlias, String ownerTableAlias, String joinPropertyName)
ReactiveNativeQuery<R>
addJoin(String tableAlias, String path, LockMode lockMode)
ReactiveNativeQuery<R>
addQueryHint(String hint)
void
addResultTypeClass(Class<?> resultClass)
NativeQuery.RootReturn
addRoot(String tableAlias, Class entityType)
NativeQuery.RootReturn
addRoot(String tableAlias, String entityName)
ReactiveNativeQuery<R>
addScalar(int position, Class<?> type)
ReactiveNativeQuery<R>
addScalar(String columnAlias)
ReactiveNativeQuery<R>
addScalar(String columnAlias, Class javaType)
<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)
ReactiveNativeQuery<R>
addScalar(String columnAlias, BasicDomainType type)
ReactiveNativeQuery<R>
addScalar(String columnAlias, BasicTypeReference type)
LockMode
getHibernateLockMode()
jakarta.persistence.LockModeType
getLockMode()
Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.LockOptions
getLockOptions()
ReactiveNativeQuery<R>
setCacheable(boolean cacheable)
ReactiveNativeQuery<R>
setCacheMode(CacheMode cacheMode)
ReactiveNativeQuery<R>
setCacheRegion(String cacheRegion)
ReactiveNativeQuery<R>
setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
ReactiveNativeQuery<R>
setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
ReactiveNativeQuery<R>
setComment(String comment)
ReactiveNativeQuery<R>
setFetchSize(int fetchSize)
ReactiveNativeQuery<R>
setFirstResult(int startPosition)
ReactiveNativeQuery<R>
setFlushMode(jakarta.persistence.FlushModeType flushMode)
ReactiveNativeQuery<R>
setHibernateFlushMode(FlushMode flushMode)
ReactiveNativeQuery<R>
setHibernateLockMode(LockMode lockMode)
ReactiveNativeQuery<R>
setHint(String hintName, Object value)
ReactiveNativeQuery<R>
setLockMode(jakarta.persistence.LockModeType lockMode)
Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.ReactiveNativeQuery<R>
setLockMode(String alias, LockMode lockMode)
Not applicable to native SQL queries.ReactiveNativeQuery<R>
setLockOptions(LockOptions lockOptions)
ReactiveNativeQuery<R>
setMaxResults(int maxResult)
ReactiveNativeQuery<R>
setParameter(int position, Object value)
Bind the given argument to an ordinal query parameter.ReactiveNativeQuery<R>
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
.ReactiveNativeQuery<R>
setParameter(int position, Calendar value, jakarta.persistence.TemporalType temporalType)
Query
overrideReactiveNativeQuery<R>
setParameter(int position, Date value, jakarta.persistence.TemporalType temporalType)
Query
override<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 theBindableType
to use.<P> ReactiveNativeQuery<R>
setParameter(int position, P val, BindableType<P> type)
Bind the given argument to an ordinal query parameter using the givenBindableType
.ReactiveNativeQuery<R>
setParameter(jakarta.persistence.Parameter<Calendar> param, Calendar value, jakarta.persistence.TemporalType temporalType)
ReactiveNativeQuery<R>
setParameter(jakarta.persistence.Parameter<Date> param, Date value, jakarta.persistence.TemporalType temporalType)
<P> ReactiveNativeQuery<R>
setParameter(jakarta.persistence.Parameter<P> param, P value)
ReactiveNativeQuery<R>
setParameter(String name, Object value)
ReactiveNativeQuery<R>
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
.ReactiveNativeQuery<R>
setParameter(String name, Calendar value, jakarta.persistence.TemporalType temporalType)
ReactiveNativeQuery<R>
setParameter(String name, Date value, jakarta.persistence.TemporalType temporalType)
<P> ReactiveNativeQuery<R>
setParameter(String name, P val, Class<P> type)
<P> ReactiveNativeQuery<R>
setParameter(String name, P val, BindableType<P> type)
<P> ReactiveNativeQuery<R>
setParameter(QueryParameter<P> parameter, P val)
<P> ReactiveNativeQuery<R>
setParameter(QueryParameter<P> parameter, P val, Class<P> type)
<P> ReactiveNativeQuery<R>
setParameter(QueryParameter<P> parameter, P val, BindableType<P> type)
ReactiveNativeQuery<R>
setParameterList(int position, Object[] values)
Bind multiple arguments to an ordinal query parameter.ReactiveNativeQuery<R>
setParameterList(int position, Collection values)
Bind multiple arguments to an ordinal query parameter.<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 theBindableType
to use.<P> ReactiveNativeQuery<R>
setParameterList(int position, Collection<? extends P> values, BindableType<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.<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 theBindableType
to use.<P> ReactiveNativeQuery<R>
setParameterList(int position, P[] values, BindableType<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.ReactiveNativeQuery<R>
setParameterList(String name, Object[] values)
Bind multiple arguments to a named query parameter.ReactiveNativeQuery<R>
setParameterList(String name, Collection values)
<P> ReactiveNativeQuery<R>
setParameterList(String name, Collection<? extends P> values, Class<P> type)
<P> ReactiveNativeQuery<R>
setParameterList(String name, Collection<? extends P> values, BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<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 theBindableType
to use.<P> ReactiveNativeQuery<R>
setParameterList(String name, P[] values, BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<P> ReactiveNativeQuery<R>
setParameterList(QueryParameter<P> parameter, Collection<? extends P> values)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<P> ReactiveNativeQuery<R>
setParameterList(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 theBindableType
to use.<P> ReactiveNativeQuery<R>
setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.<P> ReactiveNativeQuery<R>
setParameterList(QueryParameter<P> parameter, P[] values)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
<P> ReactiveNativeQuery<R>
setParameterList(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 theBindableType
to use.<P> ReactiveNativeQuery<R>
setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.ReactiveNativeQuery<R>
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.ReactiveNativeQuery<R>
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.ReactiveNativeQuery<R>
setReadOnly(boolean readOnly)
ReactiveNativeQuery<R>
setResultListTransformer(ResultListTransformer<R> transformer)
ReactiveNativeQuery<R>
setTimeout(int timeout)
<T> ReactiveNativeQuery<T>
setTupleTransformer(TupleTransformer<T> transformer)
-
Methods inherited from interface org.hibernate.query.CommonQueryContract
getFlushMode, getHibernateFlushMode, getTimeout
-
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, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setAliasSpecificLockMode, setFollowOnLocking, setOrder, setOrder
-
-
-
-
Method Detail
-
addScalar
ReactiveNativeQuery<R> addScalar(String columnAlias)
-
addScalar
ReactiveNativeQuery<R> addScalar(String columnAlias, BasicTypeReference type)
-
addScalar
ReactiveNativeQuery<R> addScalar(String columnAlias, BasicDomainType type)
-
addScalar
ReactiveNativeQuery<R> addScalar(String columnAlias, Class javaType)
-
addScalar
ReactiveNativeQuery<R> addScalar(int position, Class<?> type)
-
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
<O,T> ReactiveNativeQuery<R> addScalar(String columnAlias, Class<O> domainJavaType, Class<T> jdbcJavaType, Class<? extends jakarta.persistence.AttributeConverter<O,T>> converter)
-
addInstantiation
<J> 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
NativeQuery.RootReturn addRoot(String tableAlias, String entityName)
-
addRoot
NativeQuery.RootReturn addRoot(String tableAlias, Class entityType)
-
addEntity
ReactiveNativeQuery<R> addEntity(String entityName)
-
addEntity
ReactiveNativeQuery<R> addEntity(String tableAlias, String entityName)
-
addEntity
ReactiveNativeQuery<R> addEntity(String tableAlias, String entityName, LockMode lockMode)
-
addEntity
ReactiveNativeQuery<R> addEntity(Class entityType)
-
addEntity
ReactiveNativeQuery<R> addEntity(String tableAlias, Class entityType)
-
addEntity
ReactiveNativeQuery<R> addEntity(String tableAlias, Class entityClass, LockMode lockMode)
-
addFetch
NativeQuery.FetchReturn addFetch(String tableAlias, String ownerTableAlias, String joinPropertyName)
-
addJoin
ReactiveNativeQuery<R> addJoin(String tableAlias, String path)
-
addJoin
ReactiveNativeQuery<R> addJoin(String tableAlias, String ownerTableAlias, String joinPropertyName)
-
addJoin
ReactiveNativeQuery<R> addJoin(String tableAlias, String path, LockMode lockMode)
-
addResultTypeClass
void addResultTypeClass(Class<?> resultClass)
-
setHibernateFlushMode
ReactiveNativeQuery<R> setHibernateFlushMode(FlushMode flushMode)
- Specified by:
setHibernateFlushMode
in interfaceCommonQueryContract
- Specified by:
setHibernateFlushMode
in interfaceReactiveMutationQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceReactiveSelectionQuery<R>
-
setFlushMode
ReactiveNativeQuery<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
- Specified by:
setFlushMode
in interfaceCommonQueryContract
- Specified by:
setFlushMode
in interfaceReactiveQuery<R>
- Specified by:
setFlushMode
in interfaceReactiveSelectionQuery<R>
-
setCacheMode
ReactiveNativeQuery<R> setCacheMode(CacheMode cacheMode)
- Specified by:
setCacheMode
in interfaceReactiveQuery<R>
- Specified by:
setCacheMode
in interfaceReactiveSelectionQuery<R>
-
setCacheStoreMode
ReactiveNativeQuery<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
- 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:
ReactiveSelectionQuery.setCacheMode(CacheMode)
-
setCacheable
ReactiveNativeQuery<R> setCacheable(boolean cacheable)
- Specified by:
setCacheable
in interfaceReactiveQuery<R>
- Specified by:
setCacheable
in interfaceReactiveSelectionQuery<R>
-
setCacheRegion
ReactiveNativeQuery<R> setCacheRegion(String cacheRegion)
- Specified by:
setCacheRegion
in interfaceReactiveQuery<R>
- Specified by:
setCacheRegion
in interfaceReactiveSelectionQuery<R>
-
setTimeout
ReactiveNativeQuery<R> setTimeout(int timeout)
- Specified by:
setTimeout
in interfaceCommonQueryContract
- Specified by:
setTimeout
in interfaceReactiveQuery<R>
- Specified by:
setTimeout
in interfaceReactiveSelectionQuery<R>
-
setFetchSize
ReactiveNativeQuery<R> setFetchSize(int fetchSize)
- Specified by:
setFetchSize
in interfaceReactiveQuery<R>
- Specified by:
setFetchSize
in interfaceReactiveSelectionQuery<R>
-
setReadOnly
ReactiveNativeQuery<R> setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interfaceReactiveQuery<R>
- Specified by:
setReadOnly
in interfaceReactiveSelectionQuery<R>
-
getLockOptions
LockOptions getLockOptions()
- Specified by:
getLockOptions
in interfaceReactiveQuery<R>
- Specified by:
getLockOptions
in interfaceReactiveSelectionQuery<R>
-
setLockOptions
ReactiveNativeQuery<R> setLockOptions(LockOptions lockOptions)
- Specified by:
setLockOptions
in interfaceReactiveQuery<R>
-
setLockMode
ReactiveNativeQuery<R> setLockMode(String alias, LockMode lockMode)
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
ReactiveNativeQuery<R> setComment(String comment)
- Specified by:
setComment
in interfaceCommonQueryContract
- Specified by:
setComment
in interfaceReactiveQuery<R>
-
addQueryHint
ReactiveNativeQuery<R> addQueryHint(String hint)
- Specified by:
addQueryHint
in interfaceReactiveQuery<R>
-
setMaxResults
ReactiveNativeQuery<R> setMaxResults(int maxResult)
- Specified by:
setMaxResults
in interfaceReactiveQuery<R>
- Specified by:
setMaxResults
in interfaceReactiveSelectionQuery<R>
-
setFirstResult
ReactiveNativeQuery<R> setFirstResult(int startPosition)
- Specified by:
setFirstResult
in interfaceReactiveQuery<R>
- Specified by:
setFirstResult
in interfaceReactiveSelectionQuery<R>
-
setHint
ReactiveNativeQuery<R> setHint(String hintName, Object value)
- Specified by:
setHint
in interfaceCommonQueryContract
- 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
LockMode getHibernateLockMode()
- Specified by:
getHibernateLockMode
in interfaceReactiveSelectionQuery<R>
-
setLockMode
ReactiveNativeQuery<R> setLockMode(jakarta.persistence.LockModeType lockMode)
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
ReactiveNativeQuery<R> setHibernateLockMode(LockMode lockMode)
- Specified by:
setHibernateLockMode
in interfaceReactiveSelectionQuery<R>
-
setTupleTransformer
<T> ReactiveNativeQuery<T> setTupleTransformer(TupleTransformer<T> transformer)
- Specified by:
setTupleTransformer
in interfaceReactiveQuery<R>
-
setResultListTransformer
ReactiveNativeQuery<R> setResultListTransformer(ResultListTransformer<R> transformer)
- Specified by:
setResultListTransformer
in interfaceReactiveQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(String name, Object value)
- Specified by:
setParameter
in interfaceCommonQueryContract
- 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, Class<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
- 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, BindableType<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, Object value)
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 interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
ReactiveQuery.setParameter(int, Object, Class)
,ReactiveQuery.setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(int position, P val, Class<P> type)
Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,ReactiveQuery.setParameter(int, Object)
is used.- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
- See Also:
ReactiveQuery.setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(int position, P val, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind the given argument to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameter
in interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(QueryParameter<P> parameter, P val)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(QueryParameter<P> parameter, P val, Class<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(QueryParameter<P> parameter, P val, BindableType<P> type)
- Specified by:
setParameter
in interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(jakarta.persistence.Parameter<P> param, P value)
- Specified by:
setParameter
in interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- Specified by:
setParameter
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameter
in interfaceReactiveQuery<R>
- Specified by:
setParameter
in interfaceReactiveSelectionQuery<R>
-
setParameterList
ReactiveNativeQuery<R> setParameterList(String name, Collection values)
- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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 interfaceCommonQueryContract
- 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, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
ReactiveNativeQuery<R> setParameterList(String name, Object[] values)
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 interfaceCommonQueryContract
- 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(String name, P[] values, Class<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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:
ReactiveQuery.setParameterList(java.lang.String, Object[], BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(String name, P[] values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
ReactiveNativeQuery<R> setParameterList(int position, Collection values)
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 interfaceCommonQueryContract
- 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 theBindableType
to use. If unable to determine an appropriateBindableType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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:
ReactiveQuery.setParameterList(int, Collection, BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, Collection<? extends P> values, BindableType<P> javaType)
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
ReactiveNativeQuery<R> setParameterList(int position, Object[] values)
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 interfaceCommonQueryContract
- 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, P[] values, Class<P> javaType)
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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:
ReactiveQuery.setParameterList(int, Object[], BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, P[] values, BindableType<P> javaType)
Description copied from interface:ReactiveQuery
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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(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 interfaceCommonQueryContract
- 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(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 theBindableType
to use. If unable to determine an appropriateBindableType
,ReactiveQuery.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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:
ReactiveQuery.setParameterList(QueryParameter, java.util.Collection, BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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(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 interfaceCommonQueryContract
- 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(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 theBindableType
to use. If unable to determine an appropriateBindableType
,ReactiveQuery.setParameterList(String, Collection)
is used- Specified by:
setParameterList
in interfaceCommonQueryContract
- 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:
ReactiveQuery.setParameterList(QueryParameter, Object[], BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)
Description copied from interface:ReactiveQuery
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.The "type mapping" for the binding is inferred from the type of the first collection element
- Specified by:
setParameterList
in interfaceCommonQueryContract
- Specified by:
setParameterList
in interfaceReactiveMutationQuery<R>
- Specified by:
setParameterList
in interfaceReactiveQuery<R>
- Specified by:
setParameterList
in interfaceReactiveSelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
ReactiveNativeQuery<R> setProperties(Object bean)
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 interfaceCommonQueryContract
- 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
ReactiveNativeQuery<R> setProperties(Map bean)
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 interfaceCommonQueryContract
- 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
-
-