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
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(java.lang.String columnAlias, jakarta.persistence.metamodel.SingularAttribute attribute)ReactiveNativeQuery<R>addAttributeResult(java.lang.String columnAlias, java.lang.Class entityJavaType, java.lang.String attributePath)ReactiveNativeQuery<R>addAttributeResult(java.lang.String columnAlias, java.lang.String entityName, java.lang.String attributePath)ReactiveNativeQuery<R>addEntity(java.lang.Class entityType)ReactiveNativeQuery<R>addEntity(java.lang.String entityName)ReactiveNativeQuery<R>addEntity(java.lang.String tableAlias, java.lang.Class entityType)ReactiveNativeQuery<R>addEntity(java.lang.String tableAlias, java.lang.Class entityClass, org.hibernate.LockMode lockMode)ReactiveNativeQuery<R>addEntity(java.lang.String tableAlias, java.lang.String entityName)ReactiveNativeQuery<R>addEntity(java.lang.String tableAlias, java.lang.String entityName, org.hibernate.LockMode lockMode)org.hibernate.query.NativeQuery.FetchReturnaddFetch(java.lang.String tableAlias, java.lang.String ownerTableAlias, java.lang.String joinPropertyName)<J> org.hibernate.query.NativeQuery.InstantiationResultNode<J>addInstantiation(java.lang.Class<J> targetJavaType)ReactiveNativeQuery<R>addJoin(java.lang.String tableAlias, java.lang.String path)ReactiveNativeQuery<R>addJoin(java.lang.String tableAlias, java.lang.String ownerTableAlias, java.lang.String joinPropertyName)ReactiveNativeQuery<R>addJoin(java.lang.String tableAlias, java.lang.String path, org.hibernate.LockMode lockMode)ReactiveNativeQuery<R>addQueryHint(java.lang.String hint)org.hibernate.query.NativeQuery.RootReturnaddRoot(java.lang.String tableAlias, java.lang.Class entityType)org.hibernate.query.NativeQuery.RootReturnaddRoot(java.lang.String tableAlias, java.lang.String entityName)ReactiveNativeQuery<R>addScalar(int position, java.lang.Class<?> type)ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias)ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, java.lang.Class javaType)<C> ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, jakarta.persistence.AttributeConverter<?,C> converter)<C> ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, java.lang.Class<? extends jakarta.persistence.AttributeConverter<?,C>> converter)<O,T>
ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, java.lang.Class<O> domainJavaType, java.lang.Class<T> jdbcJavaType, jakarta.persistence.AttributeConverter<O,T> converter)<O,T>
ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, java.lang.Class<O> domainJavaType, java.lang.Class<T> jdbcJavaType, java.lang.Class<? extends jakarta.persistence.AttributeConverter<O,T>> converter)ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, org.hibernate.metamodel.model.domain.BasicDomainType type)ReactiveNativeQuery<R>addScalar(java.lang.String columnAlias, org.hibernate.type.BasicTypeReference type)org.hibernate.LockModegetHibernateLockMode()jakarta.persistence.LockModeTypegetLockMode()Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.org.hibernate.LockOptionsgetLockOptions()ReactiveNativeQuery<R>setCacheable(boolean cacheable)ReactiveNativeQuery<R>setCacheMode(org.hibernate.CacheMode cacheMode)ReactiveNativeQuery<R>setCacheRegion(java.lang.String cacheRegion)ReactiveNativeQuery<R>setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)ReactiveNativeQuery<R>setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)ReactiveNativeQuery<R>setComment(java.lang.String comment)ReactiveNativeQuery<R>setFetchSize(int fetchSize)ReactiveNativeQuery<R>setFirstResult(int startPosition)ReactiveNativeQuery<R>setFlushMode(jakarta.persistence.FlushModeType flushMode)ReactiveNativeQuery<R>setHibernateFlushMode(org.hibernate.FlushMode flushMode)ReactiveNativeQuery<R>setHibernateLockMode(org.hibernate.LockMode lockMode)ReactiveNativeQuery<R>setHint(java.lang.String hintName, java.lang.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(java.lang.String alias, org.hibernate.LockMode lockMode)Not applicable to native SQL queries.ReactiveNativeQuery<R>setLockOptions(org.hibernate.LockOptions lockOptions)ReactiveNativeQuery<R>setMaxResults(int maxResult)ReactiveNativeQuery<R>setParameter(int position, java.lang.Object value)Bind the given argument to an ordinal query parameter.ReactiveNativeQuery<R>setParameter(int position, java.time.Instant value, jakarta.persistence.TemporalType temporalType)Bind anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.ReactiveNativeQuery<R>setParameter(int position, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)QueryoverrideReactiveNativeQuery<R>setParameter(int position, java.util.Date value, jakarta.persistence.TemporalType temporalType)Queryoverride<P> ReactiveNativeQuery<R>setParameter(int position, P val, java.lang.Class<P> type)Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveNativeQuery<R>setParameter(int position, P val, org.hibernate.query.BindableType<P> type)Bind the given argument to an ordinal query parameter using the givenBindableType.ReactiveNativeQuery<R>setParameter(jakarta.persistence.Parameter<java.util.Calendar> param, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)ReactiveNativeQuery<R>setParameter(jakarta.persistence.Parameter<java.util.Date> param, java.util.Date value, jakarta.persistence.TemporalType temporalType)<P> ReactiveNativeQuery<R>setParameter(jakarta.persistence.Parameter<P> param, P value)ReactiveNativeQuery<R>setParameter(java.lang.String name, java.lang.Object value)ReactiveNativeQuery<R>setParameter(java.lang.String name, java.time.Instant value, jakarta.persistence.TemporalType temporalType)Bind anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.ReactiveNativeQuery<R>setParameter(java.lang.String name, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)ReactiveNativeQuery<R>setParameter(java.lang.String name, java.util.Date value, jakarta.persistence.TemporalType temporalType)<P> ReactiveNativeQuery<R>setParameter(java.lang.String name, P val, java.lang.Class<P> type)<P> ReactiveNativeQuery<R>setParameter(java.lang.String name, P val, org.hibernate.query.BindableType<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, java.lang.Class<P> type)<P> ReactiveNativeQuery<R>setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, org.hibernate.query.BindableType<P> type)ReactiveNativeQuery<R>setParameterList(int position, java.lang.Object[] values)Bind multiple arguments to an ordinal query parameter.ReactiveNativeQuery<R>setParameterList(int position, java.util.Collection values)Bind multiple arguments to an ordinal query parameter.<P> ReactiveNativeQuery<R>setParameterList(int position, java.util.Collection<? extends P> values, java.lang.Class<P> type)Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveNativeQuery<R>setParameterList(int position, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> javaType)Bind multiple arguments to an ordinal query parameter using the givenBindableType.<P> ReactiveNativeQuery<R>setParameterList(int position, P[] values, java.lang.Class<P> javaType)Bind multiple arguments to an ordinal query parameter using the givenClassreference to attempt to determine theBindableTypeto use.<P> ReactiveNativeQuery<R>setParameterList(int position, P[] values, org.hibernate.query.BindableType<P> javaType)Bind multiple arguments to an ordinal query parameter using the givenBindableType.ReactiveNativeQuery<R>setParameterList(java.lang.String name, java.lang.Object[] values)Bind multiple arguments to a named query parameter.ReactiveNativeQuery<R>setParameterList(java.lang.String name, java.util.Collection values)<P> ReactiveNativeQuery<R>setParameterList(java.lang.String name, java.util.Collection<? extends P> values, java.lang.Class<P> type)<P> ReactiveNativeQuery<R>setParameterList(java.lang.String name, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> type)Bind multiple arguments to a named query parameter using the givenBindableType.<P> ReactiveNativeQuery<R>setParameterList(java.lang.String name, P[] values, java.lang.Class<P> type)Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveNativeQuery<R>setParameterList(java.lang.String name, P[] values, org.hibernate.query.BindableType<P> type)Bind multiple arguments to a named query parameter using the givenBindableType.<P> ReactiveNativeQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.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, java.util.Collection<? extends P> values, java.lang.Class<P> javaType)Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveNativeQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> type)Bind multiple arguments to the query parameter represented by the givenQueryParameter, inferring theBindableType.<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, java.lang.Class<P> javaType)Bind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use.<P> ReactiveNativeQuery<R>setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, org.hibernate.query.BindableType<P> type)Bind multiple arguments to the query parameter represented by the givenQueryParameter, inferring theBindableType.ReactiveNativeQuery<R>setProperties(java.lang.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(java.util.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(org.hibernate.query.ResultListTransformer<R> transformer)ReactiveNativeQuery<R>setTimeout(int timeout)<T> ReactiveNativeQuery<T>setTupleTransformer(org.hibernate.query.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
applyFetchGraph, applyGraph, applyLoadGraph, getComment, getParameterMetadata, getQueryOptions, getQueryString
-
Methods inherited from interface org.hibernate.reactive.query.ReactiveSelectionQuery
getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getReactiveResultList, getReactiveSingleResult, getReactiveSingleResultOrNull, isCacheable, isReadOnly, reactiveList, reactiveUnique, reactiveUniqueResultOptional, setAliasSpecificLockMode, setFollowOnLocking
-
-
-
-
Method Detail
-
addScalar
ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias)
-
addScalar
ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, org.hibernate.type.BasicTypeReference type)
-
addScalar
ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, org.hibernate.metamodel.model.domain.BasicDomainType type)
-
addScalar
ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class javaType)
-
addScalar
ReactiveNativeQuery<R> addScalar(int position, java.lang.Class<?> type)
-
addScalar
<C> ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, jakarta.persistence.AttributeConverter<?,C> converter)
-
addScalar
<O,T> ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<O> domainJavaType, java.lang.Class<T> jdbcJavaType, jakarta.persistence.AttributeConverter<O,T> converter)
-
addScalar
<C> ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, java.lang.Class<? extends jakarta.persistence.AttributeConverter<?,C>> converter)
-
addScalar
<O,T> ReactiveNativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<O> domainJavaType, java.lang.Class<T> jdbcJavaType, java.lang.Class<? extends jakarta.persistence.AttributeConverter<O,T>> converter)
-
addInstantiation
<J> org.hibernate.query.NativeQuery.InstantiationResultNode<J> addInstantiation(java.lang.Class<J> targetJavaType)
-
addAttributeResult
ReactiveNativeQuery<R> addAttributeResult(java.lang.String columnAlias, java.lang.Class entityJavaType, java.lang.String attributePath)
-
addAttributeResult
ReactiveNativeQuery<R> addAttributeResult(java.lang.String columnAlias, java.lang.String entityName, java.lang.String attributePath)
-
addAttributeResult
ReactiveNativeQuery<R> addAttributeResult(java.lang.String columnAlias, jakarta.persistence.metamodel.SingularAttribute attribute)
-
addRoot
org.hibernate.query.NativeQuery.RootReturn addRoot(java.lang.String tableAlias, java.lang.String entityName)
-
addRoot
org.hibernate.query.NativeQuery.RootReturn addRoot(java.lang.String tableAlias, java.lang.Class entityType)
-
addEntity
ReactiveNativeQuery<R> addEntity(java.lang.String entityName)
-
addEntity
ReactiveNativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.String entityName)
-
addEntity
ReactiveNativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.String entityName, org.hibernate.LockMode lockMode)
-
addEntity
ReactiveNativeQuery<R> addEntity(java.lang.Class entityType)
-
addEntity
ReactiveNativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.Class entityType)
-
addEntity
ReactiveNativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.Class entityClass, org.hibernate.LockMode lockMode)
-
addFetch
org.hibernate.query.NativeQuery.FetchReturn addFetch(java.lang.String tableAlias, java.lang.String ownerTableAlias, java.lang.String joinPropertyName)
-
addJoin
ReactiveNativeQuery<R> addJoin(java.lang.String tableAlias, java.lang.String path)
-
addJoin
ReactiveNativeQuery<R> addJoin(java.lang.String tableAlias, java.lang.String ownerTableAlias, java.lang.String joinPropertyName)
-
addJoin
ReactiveNativeQuery<R> addJoin(java.lang.String tableAlias, java.lang.String path, org.hibernate.LockMode lockMode)
-
setHibernateFlushMode
ReactiveNativeQuery<R> setHibernateFlushMode(org.hibernate.FlushMode flushMode)
- Specified by:
setHibernateFlushModein interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setHibernateFlushModein interfaceReactiveMutationQuery<R>- Specified by:
setHibernateFlushModein interfaceReactiveQuery<R>- Specified by:
setHibernateFlushModein interfaceReactiveSelectionQuery<R>
-
setFlushMode
ReactiveNativeQuery<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
- Specified by:
setFlushModein interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setFlushModein interfaceReactiveQuery<R>- Specified by:
setFlushModein interfaceReactiveSelectionQuery<R>
-
setCacheMode
ReactiveNativeQuery<R> setCacheMode(org.hibernate.CacheMode cacheMode)
- Specified by:
setCacheModein interfaceReactiveQuery<R>- Specified by:
setCacheModein interfaceReactiveSelectionQuery<R>
-
setCacheStoreMode
ReactiveNativeQuery<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
- Specified by:
setCacheStoreModein interfaceReactiveQuery<R>- Specified by:
setCacheStoreModein interfaceReactiveSelectionQuery<R>
-
setCacheRetrieveMode
ReactiveNativeQuery<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
- Specified by:
setCacheRetrieveModein interfaceReactiveQuery<R>- Specified by:
setCacheRetrieveModein interfaceReactiveSelectionQuery<R>- See Also:
ReactiveSelectionQuery.setCacheMode(CacheMode)
-
setCacheable
ReactiveNativeQuery<R> setCacheable(boolean cacheable)
- Specified by:
setCacheablein interfaceReactiveQuery<R>- Specified by:
setCacheablein interfaceReactiveSelectionQuery<R>
-
setCacheRegion
ReactiveNativeQuery<R> setCacheRegion(java.lang.String cacheRegion)
- Specified by:
setCacheRegionin interfaceReactiveQuery<R>- Specified by:
setCacheRegionin interfaceReactiveSelectionQuery<R>
-
setTimeout
ReactiveNativeQuery<R> setTimeout(int timeout)
- Specified by:
setTimeoutin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setTimeoutin interfaceReactiveQuery<R>- Specified by:
setTimeoutin interfaceReactiveSelectionQuery<R>
-
setFetchSize
ReactiveNativeQuery<R> setFetchSize(int fetchSize)
- Specified by:
setFetchSizein interfaceReactiveQuery<R>- Specified by:
setFetchSizein interfaceReactiveSelectionQuery<R>
-
setReadOnly
ReactiveNativeQuery<R> setReadOnly(boolean readOnly)
- Specified by:
setReadOnlyin interfaceReactiveQuery<R>- Specified by:
setReadOnlyin interfaceReactiveSelectionQuery<R>
-
getLockOptions
org.hibernate.LockOptions getLockOptions()
- Specified by:
getLockOptionsin interfaceReactiveQuery<R>- Specified by:
getLockOptionsin interfaceReactiveSelectionQuery<R>
-
setLockOptions
ReactiveNativeQuery<R> setLockOptions(org.hibernate.LockOptions lockOptions)
- Specified by:
setLockOptionsin interfaceReactiveQuery<R>
-
setLockMode
ReactiveNativeQuery<R> setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
Not applicable to native SQL queries.- Specified by:
setLockModein interfaceReactiveQuery<R>- Specified by:
setLockModein interfaceReactiveSelectionQuery<R>- Throws:
java.lang.IllegalStateException- for consistency with JPA
-
setComment
ReactiveNativeQuery<R> setComment(java.lang.String comment)
- Specified by:
setCommentin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setCommentin interfaceReactiveQuery<R>
-
addQueryHint
ReactiveNativeQuery<R> addQueryHint(java.lang.String hint)
- Specified by:
addQueryHintin interfaceReactiveQuery<R>
-
setMaxResults
ReactiveNativeQuery<R> setMaxResults(int maxResult)
- Specified by:
setMaxResultsin interfaceReactiveQuery<R>- Specified by:
setMaxResultsin interfaceReactiveSelectionQuery<R>
-
setFirstResult
ReactiveNativeQuery<R> setFirstResult(int startPosition)
- Specified by:
setFirstResultin interfaceReactiveQuery<R>- Specified by:
setFirstResultin interfaceReactiveSelectionQuery<R>
-
setHint
ReactiveNativeQuery<R> setHint(java.lang.String hintName, java.lang.Object value)
- Specified by:
setHintin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setHintin interfaceReactiveQuery<R>- Specified by:
setHintin 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:
getLockModein interfaceReactiveSelectionQuery<R>- Throws:
java.lang.IllegalStateException- as required by JPA
-
getHibernateLockMode
org.hibernate.LockMode getHibernateLockMode()
- Specified by:
getHibernateLockModein 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:
setLockModein interfaceReactiveQuery<R>- Specified by:
setLockModein interfaceReactiveSelectionQuery<R>- Throws:
java.lang.IllegalStateException- as required by JPA
-
setHibernateLockMode
ReactiveNativeQuery<R> setHibernateLockMode(org.hibernate.LockMode lockMode)
- Specified by:
setHibernateLockModein interfaceReactiveSelectionQuery<R>
-
setTupleTransformer
<T> ReactiveNativeQuery<T> setTupleTransformer(org.hibernate.query.TupleTransformer<T> transformer)
- Specified by:
setTupleTransformerin interfaceReactiveQuery<R>
-
setResultListTransformer
ReactiveNativeQuery<R> setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)
- Specified by:
setResultListTransformerin interfaceReactiveQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(java.lang.String name, java.lang.Object value)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(java.lang.String name, P val, java.lang.Class<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(java.lang.String name, P val, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(java.lang.String name, java.time.Instant value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:ReactiveQueryBind anInstantvalue to the named query parameter using just the portion indicated by the givenTemporalType.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(java.lang.String name, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(java.lang.String name, java.util.Date value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, java.lang.Object value)
Description copied from interface:ReactiveQueryBind 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:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>- See Also:
ReactiveQuery.setParameter(int, Object, Class),ReactiveQuery.setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(int position, P val, java.lang.Class<P> type)
Description copied from interface:ReactiveQueryBind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,ReactiveQuery.setParameter(int, Object)is used.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>- See Also:
ReactiveQuery.setParameter(int, Object, BindableType)
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(int position, P val, org.hibernate.query.BindableType<P> type)
Description copied from interface:ReactiveQueryBind the given argument to an ordinal query parameter using the givenBindableType.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, java.time.Instant value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:ReactiveQueryBind anInstantvalue to the ordinal query parameter using just the portion indicated by the givenTemporalType.- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:ReactiveQueryQueryoverride- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(int position, java.util.Date value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:ReactiveQueryQueryoverride- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, java.lang.Class<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
<P> ReactiveNativeQuery<R> setParameter(jakarta.persistence.Parameter<P> param, P value)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(jakarta.persistence.Parameter<java.util.Calendar> param, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameter
ReactiveNativeQuery<R> setParameter(jakarta.persistence.Parameter<java.util.Date> param, java.util.Date value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameterin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterin interfaceReactiveMutationQuery<R>- Specified by:
setParameterin interfaceReactiveQuery<R>- Specified by:
setParameterin interfaceReactiveSelectionQuery<R>
-
setParameterList
ReactiveNativeQuery<R> setParameterList(java.lang.String name, java.util.Collection values)
- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(java.lang.String name, java.util.Collection<? extends P> values, java.lang.Class<P> type)
- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(java.lang.String name, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> type)
Description copied from interface:ReactiveQueryBind multiple arguments to a named query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
ReactiveNativeQuery<R> setParameterList(java.lang.String name, java.lang.Object[] values)
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(java.lang.String name, P[] values, java.lang.Class<P> type)
Description copied from interface:ReactiveQueryBind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
ReactiveQuery.setParameterList(java.lang.String, Object[], BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(java.lang.String name, P[] values, org.hibernate.query.BindableType<P> type)
Description copied from interface:ReactiveQueryBind multiple arguments to a named query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
ReactiveNativeQuery<R> setParameterList(int position, java.util.Collection values)
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, java.util.Collection<? extends P> values, java.lang.Class<P> type)
Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
ReactiveQuery.setParameterList(int, Collection, BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> javaType)
Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
ReactiveNativeQuery<R> setParameterList(int position, java.lang.Object[] values)
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, P[] values, java.lang.Class<P> javaType)
Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the givenClassreference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
ReactiveQuery.setParameterList(int, Object[], BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(int position, P[] values, org.hibernate.query.BindableType<P> javaType)
Description copied from interface:ReactiveQueryBind multiple arguments to an ordinal query parameter using the givenBindableType.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> values)
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin 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, java.util.Collection<? extends P> values, java.lang.Class<P> javaType)
Description copied from interface:ReactiveQueryBind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,ReactiveQuery.setParameterList(String, Collection)is used.- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
ReactiveQuery.setParameterList(QueryParameter, java.util.Collection, BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> type)
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values)
Description copied from interface:ReactiveQueryBind multiple arguments to the query parameter represented by the givenQueryParameterThe 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin 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, java.lang.Class<P> javaType)
Description copied from interface:ReactiveQueryBind multiple arguments to the query parameter represented by the givenQueryParameterusing the given Class reference to attempt to determine theBindableTypeto use. If unable to determine an appropriateBindableType,ReactiveQuery.setParameterList(String, Collection)is used- Specified by:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining- See Also:
ReactiveQuery.setParameterList(QueryParameter, Object[], BindableType)
-
setParameterList
<P> ReactiveNativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, org.hibernate.query.BindableType<P> type)
Description copied from interface:ReactiveQueryBind 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:
setParameterListin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setParameterListin interfaceReactiveMutationQuery<R>- Specified by:
setParameterListin interfaceReactiveQuery<R>- Specified by:
setParameterListin interfaceReactiveSelectionQuery<R>- Returns:
this, for method chaining
-
setProperties
ReactiveNativeQuery<R> setProperties(java.lang.Object bean)
Description copied from interface:ReactiveQueryBind 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:
setPropertiesin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setPropertiesin interfaceReactiveMutationQuery<R>- Specified by:
setPropertiesin interfaceReactiveQuery<R>- Specified by:
setPropertiesin interfaceReactiveSelectionQuery<R>- Parameters:
bean- any JavaBean or POJO- Returns:
this, for method chaining
-
setProperties
ReactiveNativeQuery<R> setProperties(java.util.Map bean)
Description copied from interface:ReactiveQueryBind 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:
setPropertiesin interfaceorg.hibernate.query.CommonQueryContract- Specified by:
setPropertiesin interfaceReactiveMutationQuery<R>- Specified by:
setPropertiesin interfaceReactiveQuery<R>- Specified by:
setPropertiesin interfaceReactiveSelectionQuery<R>- Parameters:
bean- aMapof names to arguments- Returns:
this, for method chaining
-
-