Interface Mutiny.NativeQuery<R>
-
- All Superinterfaces:
org.hibernate.query.CommonQueryContract
,Mutiny.MutationQuery<R>
,Mutiny.Query<R>
,Mutiny.SelectionQuery<R>
- All Known Implementing Classes:
MutinyNativeQueryImpl
- Enclosing interface:
- Mutiny
public static interface Mutiny.NativeQuery<R> extends Mutiny.Query<R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mutiny.NativeQuery<R>
addAttributeResult(java.lang.String columnAlias, jakarta.persistence.metamodel.SingularAttribute attribute)
Mutiny.NativeQuery<R>
addAttributeResult(java.lang.String columnAlias, java.lang.Class entityJavaType, java.lang.String attributePath)
Mutiny.NativeQuery<R>
addAttributeResult(java.lang.String columnAlias, java.lang.String entityName, java.lang.String attributePath)
Mutiny.NativeQuery<R>
addEntity(java.lang.Class entityType)
Mutiny.NativeQuery<R>
addEntity(java.lang.String entityName)
Mutiny.NativeQuery<R>
addEntity(java.lang.String tableAlias, java.lang.Class entityType)
Mutiny.NativeQuery<R>
addEntity(java.lang.String tableAlias, java.lang.Class entityClass, org.hibernate.LockMode lockMode)
Mutiny.NativeQuery<R>
addEntity(java.lang.String tableAlias, java.lang.String entityName)
Mutiny.NativeQuery<R>
addEntity(java.lang.String tableAlias, java.lang.String entityName, org.hibernate.LockMode lockMode)
org.hibernate.query.NativeQuery.FetchReturn
addFetch(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)
Mutiny.NativeQuery<R>
addJoin(java.lang.String tableAlias, java.lang.String path)
Mutiny.NativeQuery<R>
addJoin(java.lang.String tableAlias, java.lang.String ownerTableAlias, java.lang.String joinPropertyName)
Mutiny.NativeQuery<R>
addJoin(java.lang.String tableAlias, java.lang.String path, org.hibernate.LockMode lockMode)
Mutiny.NativeQuery<R>
addQueryHint(java.lang.String hint)
org.hibernate.query.NativeQuery.RootReturn
addRoot(java.lang.String tableAlias, java.lang.Class entityType)
org.hibernate.query.NativeQuery.RootReturn
addRoot(java.lang.String tableAlias, java.lang.String entityName)
Mutiny.NativeQuery<R>
addScalar(java.lang.String columnAlias)
Mutiny.NativeQuery<R>
addScalar(java.lang.String columnAlias, java.lang.Class javaType)
<C> Mutiny.NativeQuery<R>
addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, jakarta.persistence.AttributeConverter<?,C> converter)
<C> Mutiny.NativeQuery<R>
addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, java.lang.Class<? extends jakarta.persistence.AttributeConverter<?,C>> converter)
<O,T>
Mutiny.NativeQuery<R>addScalar(java.lang.String columnAlias, java.lang.Class<O> domainJavaType, java.lang.Class<T> jdbcJavaType, jakarta.persistence.AttributeConverter<O,T> converter)
<O,T>
Mutiny.NativeQuery<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)
Mutiny.NativeQuery<R>
addScalar(java.lang.String columnAlias, org.hibernate.metamodel.model.domain.BasicDomainType type)
Mutiny.NativeQuery<R>
addScalar(java.lang.String columnAlias, org.hibernate.type.BasicTypeReference type)
org.hibernate.LockOptions
getLockOptions()
Mutiny.NativeQuery<R>
setCacheable(boolean cacheable)
Mutiny.NativeQuery<R>
setCacheMode(org.hibernate.CacheMode cacheMode)
Mutiny.NativeQuery<R>
setCacheRegion(java.lang.String cacheRegion)
Mutiny.NativeQuery<R>
setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
Mutiny.NativeQuery<R>
setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
Mutiny.NativeQuery<R>
setComment(java.lang.String comment)
Mutiny.NativeQuery<R>
setFetchSize(int fetchSize)
Mutiny.NativeQuery<R>
setFirstResult(int startPosition)
Mutiny.NativeQuery<R>
setFlushMode(jakarta.persistence.FlushModeType flushMode)
Mutiny.NativeQuery<R>
setHibernateFlushMode(org.hibernate.FlushMode flushMode)
Mutiny.NativeQuery<R>
setHibernateLockMode(org.hibernate.LockMode lockMode)
Mutiny.NativeQuery<R>
setHint(java.lang.String hintName, java.lang.Object value)
Mutiny.NativeQuery<R>
setLockMode(jakarta.persistence.LockModeType lockMode)
Not applicable to native SQL queries, due to an unfortunate requirement of the JPA specification.Mutiny.NativeQuery<R>
setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
Not applicable to native SQL queries.Mutiny.NativeQuery<R>
setLockOptions(org.hibernate.LockOptions lockOptions)
Mutiny.NativeQuery<R>
setMaxResults(int maxResult)
Mutiny.NativeQuery<R>
setParameter(int position, java.lang.Object value)
Bind the given argument to an ordinal query parameter.Mutiny.NativeQuery<R>
setParameter(int position, java.time.Instant value, jakarta.persistence.TemporalType temporalType)
Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.Mutiny.NativeQuery<R>
setParameter(int position, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
Query
overrideMutiny.NativeQuery<R>
setParameter(int position, java.util.Date value, jakarta.persistence.TemporalType temporalType)
Query
override<P> Mutiny.NativeQuery<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 theBindableType
to use.<P> Mutiny.NativeQuery<R>
setParameter(int position, P val, org.hibernate.query.BindableType<P> type)
Bind the given argument to an ordinal query parameter using the givenBindableType
.Mutiny.NativeQuery<R>
setParameter(jakarta.persistence.Parameter<java.util.Calendar> param, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
Mutiny.NativeQuery<R>
setParameter(jakarta.persistence.Parameter<java.util.Date> param, java.util.Date value, jakarta.persistence.TemporalType temporalType)
<P> Mutiny.NativeQuery<R>
setParameter(jakarta.persistence.Parameter<P> param, P value)
Mutiny.NativeQuery<R>
setParameter(java.lang.String name, java.lang.Object value)
Mutiny.NativeQuery<R>
setParameter(java.lang.String name, java.time.Instant value, jakarta.persistence.TemporalType temporalType)
Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.Mutiny.NativeQuery<R>
setParameter(java.lang.String name, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
Mutiny.NativeQuery<R>
setParameter(java.lang.String name, java.util.Date value, jakarta.persistence.TemporalType temporalType)
<P> Mutiny.NativeQuery<R>
setParameter(java.lang.String name, P val, java.lang.Class<P> type)
<P> Mutiny.NativeQuery<R>
setParameter(java.lang.String name, P val, org.hibernate.query.BindableType<P> type)
<P> Mutiny.NativeQuery<R>
setParameter(org.hibernate.query.QueryParameter<P> parameter, P val)
<P> Mutiny.NativeQuery<R>
setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, java.lang.Class<P> type)
<P> Mutiny.NativeQuery<R>
setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, org.hibernate.query.BindableType<P> type)
Mutiny.NativeQuery<R>
setParameterList(int position, java.lang.Object[] values)
Bind multiple arguments to an ordinal query parameter.Mutiny.NativeQuery<R>
setParameterList(int position, java.util.Collection values)
Bind multiple arguments to an ordinal query parameter.<P> Mutiny.NativeQuery<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 theBindableType
to use.<P> Mutiny.NativeQuery<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> Mutiny.NativeQuery<R>
setParameterList(int position, P[] values, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use.<P> Mutiny.NativeQuery<R>
setParameterList(int position, P[] values, org.hibernate.query.BindableType<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.Mutiny.NativeQuery<R>
setParameterList(java.lang.String name, java.lang.Object[] values)
Bind multiple arguments to a named query parameter.Mutiny.NativeQuery<R>
setParameterList(java.lang.String name, java.util.Collection values)
<P> Mutiny.NativeQuery<R>
setParameterList(java.lang.String name, java.util.Collection<? extends P> values, java.lang.Class<P> type)
<P> Mutiny.NativeQuery<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> Mutiny.NativeQuery<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 theBindableType
to use.<P> Mutiny.NativeQuery<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> Mutiny.NativeQuery<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> Mutiny.NativeQuery<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 givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.NativeQuery<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> Mutiny.NativeQuery<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
<P> Mutiny.NativeQuery<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 givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.NativeQuery<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
.Mutiny.NativeQuery<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.Mutiny.NativeQuery<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.Mutiny.NativeQuery<R>
setReadOnly(boolean readOnly)
Mutiny.NativeQuery<R>
setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)
Mutiny.NativeQuery<R>
setTimeout(int timeout)
<T> Mutiny.NativeQuery<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.mutiny.Mutiny.MutationQuery
executeUpdate
-
Methods inherited from interface org.hibernate.reactive.mutiny.Mutiny.Query
applyFetchGraph, applyGraph, applyLoadGraph, getComment, getParameterMetadata, getQueryOptions, getQueryString
-
Methods inherited from interface org.hibernate.reactive.mutiny.Mutiny.SelectionQuery
getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getHibernateLockMode, getLockMode, getResultList, getSingleResult, getSingleResultOrNull, isCacheable, isReadOnly, list, setAliasSpecificLockMode, setFollowOnLocking, uniqueResult, uniqueResultOptional
-
-
-
-
Method Detail
-
addScalar
Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias)
-
addScalar
Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias, org.hibernate.type.BasicTypeReference type)
-
addScalar
Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias, org.hibernate.metamodel.model.domain.BasicDomainType type)
-
addScalar
Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class javaType)
-
addScalar
<C> Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, jakarta.persistence.AttributeConverter<?,C> converter)
-
addScalar
<O,T> Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<O> domainJavaType, java.lang.Class<T> jdbcJavaType, jakarta.persistence.AttributeConverter<O,T> converter)
-
addScalar
<C> Mutiny.NativeQuery<R> addScalar(java.lang.String columnAlias, java.lang.Class<C> relationalJavaType, java.lang.Class<? extends jakarta.persistence.AttributeConverter<?,C>> converter)
-
addScalar
<O,T> Mutiny.NativeQuery<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
Mutiny.NativeQuery<R> addAttributeResult(java.lang.String columnAlias, java.lang.Class entityJavaType, java.lang.String attributePath)
-
addAttributeResult
Mutiny.NativeQuery<R> addAttributeResult(java.lang.String columnAlias, java.lang.String entityName, java.lang.String attributePath)
-
addAttributeResult
Mutiny.NativeQuery<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
Mutiny.NativeQuery<R> addEntity(java.lang.String entityName)
-
addEntity
Mutiny.NativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.String entityName)
-
addEntity
Mutiny.NativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.String entityName, org.hibernate.LockMode lockMode)
-
addEntity
Mutiny.NativeQuery<R> addEntity(java.lang.Class entityType)
-
addEntity
Mutiny.NativeQuery<R> addEntity(java.lang.String tableAlias, java.lang.Class entityType)
-
addEntity
Mutiny.NativeQuery<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
Mutiny.NativeQuery<R> addJoin(java.lang.String tableAlias, java.lang.String path)
-
addJoin
Mutiny.NativeQuery<R> addJoin(java.lang.String tableAlias, java.lang.String ownerTableAlias, java.lang.String joinPropertyName)
-
addJoin
Mutiny.NativeQuery<R> addJoin(java.lang.String tableAlias, java.lang.String path, org.hibernate.LockMode lockMode)
-
setHibernateFlushMode
Mutiny.NativeQuery<R> setHibernateFlushMode(org.hibernate.FlushMode flushMode)
- Specified by:
setHibernateFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHibernateFlushMode
in interfaceMutiny.MutationQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceMutiny.Query<R>
- Specified by:
setHibernateFlushMode
in interfaceMutiny.SelectionQuery<R>
-
setFlushMode
Mutiny.NativeQuery<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
- Specified by:
setFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setFlushMode
in interfaceMutiny.Query<R>
- Specified by:
setFlushMode
in interfaceMutiny.SelectionQuery<R>
-
setCacheMode
Mutiny.NativeQuery<R> setCacheMode(org.hibernate.CacheMode cacheMode)
- Specified by:
setCacheMode
in interfaceMutiny.Query<R>
- Specified by:
setCacheMode
in interfaceMutiny.SelectionQuery<R>
-
setCacheStoreMode
Mutiny.NativeQuery<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
- Specified by:
setCacheStoreMode
in interfaceMutiny.Query<R>
- Specified by:
setCacheStoreMode
in interfaceMutiny.SelectionQuery<R>
-
setCacheRetrieveMode
Mutiny.NativeQuery<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
- Specified by:
setCacheRetrieveMode
in interfaceMutiny.Query<R>
- Specified by:
setCacheRetrieveMode
in interfaceMutiny.SelectionQuery<R>
- See Also:
Mutiny.SelectionQuery.setCacheMode(CacheMode)
-
setCacheable
Mutiny.NativeQuery<R> setCacheable(boolean cacheable)
- Specified by:
setCacheable
in interfaceMutiny.Query<R>
- Specified by:
setCacheable
in interfaceMutiny.SelectionQuery<R>
-
setCacheRegion
Mutiny.NativeQuery<R> setCacheRegion(java.lang.String cacheRegion)
- Specified by:
setCacheRegion
in interfaceMutiny.Query<R>
- Specified by:
setCacheRegion
in interfaceMutiny.SelectionQuery<R>
-
setTimeout
Mutiny.NativeQuery<R> setTimeout(int timeout)
- Specified by:
setTimeout
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setTimeout
in interfaceMutiny.Query<R>
- Specified by:
setTimeout
in interfaceMutiny.SelectionQuery<R>
-
setFetchSize
Mutiny.NativeQuery<R> setFetchSize(int fetchSize)
- Specified by:
setFetchSize
in interfaceMutiny.Query<R>
- Specified by:
setFetchSize
in interfaceMutiny.SelectionQuery<R>
-
setReadOnly
Mutiny.NativeQuery<R> setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interfaceMutiny.Query<R>
- Specified by:
setReadOnly
in interfaceMutiny.SelectionQuery<R>
-
getLockOptions
org.hibernate.LockOptions getLockOptions()
- Specified by:
getLockOptions
in interfaceMutiny.Query<R>
- Specified by:
getLockOptions
in interfaceMutiny.SelectionQuery<R>
-
setLockOptions
Mutiny.NativeQuery<R> setLockOptions(org.hibernate.LockOptions lockOptions)
- Specified by:
setLockOptions
in interfaceMutiny.Query<R>
-
setLockMode
Mutiny.NativeQuery<R> setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
Not applicable to native SQL queries.- Specified by:
setLockMode
in interfaceMutiny.Query<R>
- Specified by:
setLockMode
in interfaceMutiny.SelectionQuery<R>
- Throws:
java.lang.IllegalStateException
- for consistency with JPA
-
setComment
Mutiny.NativeQuery<R> setComment(java.lang.String comment)
- Specified by:
setComment
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setComment
in interfaceMutiny.Query<R>
-
addQueryHint
Mutiny.NativeQuery<R> addQueryHint(java.lang.String hint)
- Specified by:
addQueryHint
in interfaceMutiny.Query<R>
-
setMaxResults
Mutiny.NativeQuery<R> setMaxResults(int maxResult)
- Specified by:
setMaxResults
in interfaceMutiny.Query<R>
- Specified by:
setMaxResults
in interfaceMutiny.SelectionQuery<R>
-
setFirstResult
Mutiny.NativeQuery<R> setFirstResult(int startPosition)
- Specified by:
setFirstResult
in interfaceMutiny.Query<R>
- Specified by:
setFirstResult
in interfaceMutiny.SelectionQuery<R>
-
setHint
Mutiny.NativeQuery<R> setHint(java.lang.String hintName, java.lang.Object value)
- Specified by:
setHint
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHint
in interfaceMutiny.Query<R>
- Specified by:
setHint
in interfaceMutiny.SelectionQuery<R>
-
setLockMode
Mutiny.NativeQuery<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 interfaceMutiny.Query<R>
- Specified by:
setLockMode
in interfaceMutiny.SelectionQuery<R>
- Throws:
java.lang.IllegalStateException
- as required by JPA
-
setHibernateLockMode
Mutiny.NativeQuery<R> setHibernateLockMode(org.hibernate.LockMode lockMode)
- Specified by:
setHibernateLockMode
in interfaceMutiny.SelectionQuery<R>
-
setTupleTransformer
<T> Mutiny.NativeQuery<T> setTupleTransformer(org.hibernate.query.TupleTransformer<T> transformer)
- Specified by:
setTupleTransformer
in interfaceMutiny.Query<R>
-
setResultListTransformer
Mutiny.NativeQuery<R> setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)
- Specified by:
setResultListTransformer
in interfaceMutiny.Query<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(java.lang.String name, java.lang.Object value)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(java.lang.String name, P val, java.lang.Class<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(java.lang.String name, P val, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(java.lang.String name, java.time.Instant value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(java.lang.String name, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(java.lang.String name, java.util.Date value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(int position, java.lang.Object value)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
- See Also:
Mutiny.Query.setParameter(int, Object, Class)
,Mutiny.Query.setParameter(int, Object, BindableType)
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(int position, P val, java.lang.Class<P> type)
Description copied from interface:Mutiny.Query
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
,Mutiny.Query.setParameter(int, Object)
is used.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
- See Also:
BindableType#parameterType(Class)
,Mutiny.Query.setParameter(int, Object, BindableType)
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(int position, P val, org.hibernate.query.BindableType<P> type)
Description copied from interface:Mutiny.Query
Bind the given argument to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
- See Also:
BindableType#parameterType
-
setParameter
Mutiny.NativeQuery<R> setParameter(int position, java.time.Instant value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(int position, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:Mutiny.Query
Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(int position, java.util.Date value, jakarta.persistence.TemporalType temporalType)
Description copied from interface:Mutiny.Query
Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, java.lang.Class<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P val, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.NativeQuery<R> setParameter(jakarta.persistence.Parameter<P> param, P value)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(jakarta.persistence.Parameter<java.util.Calendar> param, java.util.Calendar value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.NativeQuery<R> setParameter(jakarta.persistence.Parameter<java.util.Date> param, java.util.Date value, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.Query<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameterList
Mutiny.NativeQuery<R> setParameterList(java.lang.String name, java.util.Collection values)
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(java.lang.String name, java.util.Collection<? extends P> values, java.lang.Class<P> type)
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(java.lang.String name, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> type)
Description copied from interface:Mutiny.Query
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Mutiny.NativeQuery<R> setParameterList(java.lang.String name, java.lang.Object[] values)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(java.lang.String name, P[] values, java.lang.Class<P> type)
Description copied from interface:Mutiny.Query
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
,Mutiny.Query.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
BindableType#parameterType(Class)
,Mutiny.Query.setParameterList(java.lang.String, Object[], BindableType)
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(java.lang.String name, P[] values, org.hibernate.query.BindableType<P> type)
Description copied from interface:Mutiny.Query
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Mutiny.NativeQuery<R> setParameterList(int position, java.util.Collection values)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(int position, java.util.Collection<? extends P> values, java.lang.Class<P> type)
Description copied from interface:Mutiny.Query
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
,Mutiny.Query.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
BindableType#parameterType(Class)
,Mutiny.Query.setParameterList(int, Collection, BindableType)
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(int position, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> javaType)
Description copied from interface:Mutiny.Query
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Mutiny.NativeQuery<R> setParameterList(int position, java.lang.Object[] values)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(int position, P[] values, java.lang.Class<P> javaType)
Description copied from interface:Mutiny.Query
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
,Mutiny.Query.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
BindableType#parameterType(Class)
,Mutiny.Query.setParameterList(int, Object[], BindableType)
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(int position, P[] values, org.hibernate.query.BindableType<P> javaType)
Description copied from interface:Mutiny.Query
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> values)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> values, java.lang.Class<P> javaType)
Description copied from interface:Mutiny.Query
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
,Mutiny.Query.setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
BindableType#parameterType(Class)
,Mutiny.Query.setParameterList(QueryParameter, java.util.Collection, BindableType)
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> values, org.hibernate.query.BindableType<P> type)
Description copied from interface:Mutiny.Query
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 interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Parameters:
parameter
- the parameter mementovalues
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, java.lang.Class<P> javaType)
Description copied from interface:Mutiny.Query
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
,Mutiny.Query.setParameterList(String, Collection)
is used- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
BindableType#parameterType(Class)
,Mutiny.Query.setParameterList(QueryParameter, Object[], BindableType)
-
setParameterList
<P> Mutiny.NativeQuery<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] values, org.hibernate.query.BindableType<P> type)
Description copied from interface:Mutiny.Query
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 interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.Query<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
Mutiny.NativeQuery<R> setProperties(java.lang.Object bean)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setProperties
in interfaceMutiny.Query<R>
- Specified by:
setProperties
in interfaceMutiny.SelectionQuery<R>
- Parameters:
bean
- any JavaBean or POJO- Returns:
this
, for method chaining
-
setProperties
Mutiny.NativeQuery<R> setProperties(java.util.Map bean)
Description copied from interface:Mutiny.Query
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 interfaceMutiny.MutationQuery<R>
- Specified by:
setProperties
in interfaceMutiny.Query<R>
- Specified by:
setProperties
in interfaceMutiny.SelectionQuery<R>
- Parameters:
bean
- aMap
of names to arguments- Returns:
this
, for method chaining
-
-