Package net.sf.basedb.core.hibernate
Class NativeQueryWrapper<R>
java.lang.Object
net.sf.basedb.core.hibernate.QueryWrapper<R>
net.sf.basedb.core.hibernate.NativeQueryWrapper<R>
- All Implemented Interfaces:
javax.persistence.Query
,javax.persistence.TypedQuery<R>
,BasicQueryContract<CommonQueryContract>
,Query<R>
,CommonQueryContract
,NativeQuery<R>
,Query<R>
,SQLQuery<R>
,SynchronizeableQuery<R>
A simple wrapper around hibernate native (SQL) queries which simply forwards
all calls to a parent query.
- Since:
- 3.12.1
- Author:
- nicklas
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.SQLQuery
SQLQuery.FetchReturn, SQLQuery.ReturnProperty, SQLQuery.RootReturn
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddQueryHint
(String hint) addSynchronizedEntityClass
(Class entityClass) addSynchronizedEntityName
(String entityName) addSynchronizedQuerySpace
(String querySpace) Get the underlying parent query from Hibernate.Deprecated.boolean
setCacheable
(boolean cacheable) setCacheMode
(CacheMode cacheMode) setCacheRegion
(String cacheRegion) setComment
(String comment) setFetchSize
(int fetchSize) setFirstResult
(int firstResult) setFlushMode
(javax.persistence.FlushModeType flushMode) setFlushMode
(FlushMode flushMode) setHibernateFlushMode
(FlushMode flushMode) setLockMode
(String alias, LockMode lockMode) setLockMode
(javax.persistence.LockModeType lockMode) setLockOptions
(LockOptions lockOptions) setMaxResults
(int maxResults) setParameter
(int position, Object value) setParameter
(int position, Object val, javax.persistence.TemporalType temporalType) setParameter
(int position, Object val, Type type) setParameter
(int position, Instant value, javax.persistence.TemporalType type) setParameter
(int position, LocalDateTime value, javax.persistence.TemporalType type) setParameter
(int position, OffsetDateTime value, javax.persistence.TemporalType type) setParameter
(int position, ZonedDateTime value, javax.persistence.TemporalType type) setParameter
(int position, Calendar value, javax.persistence.TemporalType temporalType) setParameter
(int position, Date value, javax.persistence.TemporalType temporalType) setParameter
(String name, Object value) setParameter
(String name, Object val, javax.persistence.TemporalType temporalType) setParameter
(String name, Object val, Type type) setParameter
(String name, Instant value, javax.persistence.TemporalType type) setParameter
(String name, LocalDateTime value, javax.persistence.TemporalType type) setParameter
(String name, OffsetDateTime value, javax.persistence.TemporalType type) setParameter
(String name, ZonedDateTime value, javax.persistence.TemporalType type) setParameter
(String name, Calendar value, javax.persistence.TemporalType temporalType) setParameter
(String name, Date value, javax.persistence.TemporalType temporalType) setParameter
(javax.persistence.Parameter<Instant> param, Instant value, javax.persistence.TemporalType type) setParameter
(javax.persistence.Parameter<LocalDateTime> param, LocalDateTime value, javax.persistence.TemporalType type) setParameter
(javax.persistence.Parameter<OffsetDateTime> param, OffsetDateTime value, javax.persistence.TemporalType type) setParameter
(javax.persistence.Parameter<ZonedDateTime> param, ZonedDateTime value, javax.persistence.TemporalType type) setParameter
(javax.persistence.Parameter<Calendar> param, Calendar value, javax.persistence.TemporalType temporalType) setParameter
(javax.persistence.Parameter<Date> param, Date value, javax.persistence.TemporalType temporalType) <P> NativeQuery<R>
setParameter
(javax.persistence.Parameter<P> param, P value) <P> NativeQuery<R>
setParameter
(QueryParameter<P> parameter, P val) <P> NativeQuery<R>
setParameter
(QueryParameter<P> parameter, P val, javax.persistence.TemporalType temporalType) <P> NativeQuery<R>
setParameter
(QueryParameter<P> parameter, P val, Type type) setParameterList
(String name, Object[] values) setParameterList
(String name, Object[] values, Type type) setParameterList
(String name, Collection values) setParameterList
(String name, Collection values, Type type) <P> NativeQuery<R>
setParameterList
(QueryParameter<P> parameter, Collection<P> values) setProperties
(Object bean) setProperties
(Map bean) setReadOnly
(boolean readOnly) setResultSetMapping
(String name) setTimeout
(int timeout) Methods inherited from class net.sf.basedb.core.hibernate.QueryWrapper
applyGraph, determineProperBooleanType, determineProperBooleanType, executeUpdate, getCacheMode, getCacheRegion, getComment, getFetchSize, getFirstResult, getFlushMode, getHibernateFlushMode, getHints, getLockMode, getLockOptions, getMaxResults, getNamedParameters, getParameter, getParameter, getParameter, getParameter, getParameterMetadata, getParameters, getParameterValue, getParameterValue, getParameterValue, getProducer, getQueryOptions, getQueryString, getReturnAliases, getReturnTypes, getTimeout, isBound, isCacheable, isReadOnly, iterate, list, scroll, scroll, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBinary, setBinary, setBoolean, setBoolean, setByte, setByte, setCalendar, setCalendar, setCalendarDate, setCalendarDate, setCharacter, setCharacter, setDate, setDate, setDouble, setDouble, setEntity, setEntity, setFloat, setFloat, setInteger, setInteger, setLocale, setLocale, setLong, setLong, setParameterList, setParameterList, setParameterList, setParameterList, setParameters, setResultTransformer, setSerializable, setSerializable, setShort, setShort, setString, setString, setText, setText, setTime, setTime, setTimestamp, setTimestamp, stream, uniqueResult, uniqueResultOptional, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.persistence.Query
executeUpdate, getFirstResult, getHints, getLockMode, getMaxResults, getParameter, getParameter, getParameter, getParameter, getParameters, getParameterValue, getParameterValue, getParameterValue, isBound, unwrap
Methods inherited from interface org.hibernate.Query
determineProperBooleanType, determineProperBooleanType, getFlushMode, getHibernateFirstResult, getHibernateMaxResults, getNamedParameters, getQueryOptions, getReturnAliases, getReturnTypes, getTimeout, isCacheable, isReadOnly, iterate, setHibernateFirstResult, setHibernateMaxResults, setParameterList, setParameterList, setParameterList, setParameterList
Methods inherited from interface org.hibernate.query.Query
applyFetchGraph, applyGraph, applyLoadGraph, getCacheMode, getCacheRegion, getComment, getFetchSize, getHibernateFlushMode, getLockOptions, getParameterMetadata, getProducer, getQueryString, getResultList, getResultStream, getSingleResult, list, scroll, scroll, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBinary, setBinary, setBoolean, setBoolean, setByte, setByte, setCalendar, setCalendar, setCalendarDate, setCalendarDate, setCharacter, setCharacter, setDate, setDate, setDouble, setDouble, setEntity, setEntity, setFloat, setFloat, setInteger, setInteger, setLocale, setLocale, setLong, setLong, setParameters, setResultTransformer, setSerializable, setSerializable, setShort, setShort, setString, setString, setText, setText, setTime, setTime, setTimestamp, setTimestamp, stream, uniqueResult, uniqueResultOptional
Methods inherited from interface org.hibernate.SynchronizeableQuery
addSynchronizedEntityClass, addSynchronizedEntityName, addSynchronizedQuerySpace, addSynchronizedTable, addSynchronizedTable
-
Field Details
-
query
-
-
Constructor Details
-
NativeQueryWrapper
-
-
Method Details
-
getParentQuery
Get the underlying parent query from Hibernate. -
isCallable
public boolean isCallable()- Specified by:
isCallable
in interfaceNativeQuery<R>
- Specified by:
isCallable
in interfaceSQLQuery<R>
-
getQueryReturns
Deprecated.- Specified by:
getQueryReturns
in interfaceSQLQuery<R>
-
addScalar
-
addScalar
-
addRoot
-
addRoot
-
addEntity
-
addEntity
-
addEntity
-
addEntity
-
addEntity
-
addEntity
-
addFetch
public SQLQuery.FetchReturn addFetch(String tableAlias, String ownerTableAlias, String joinPropertyName) -
addJoin
-
addJoin
-
addJoin
-
setHibernateFlushMode
- Specified by:
setHibernateFlushMode
in interfaceBasicQueryContract<R>
- Specified by:
setHibernateFlushMode
in interfaceNativeQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceSQLQuery<R>
- Overrides:
setHibernateFlushMode
in classQueryWrapper<R>
-
setFlushMode
- Specified by:
setFlushMode
in interfaceNativeQuery<R>
- Specified by:
setFlushMode
in interfacejavax.persistence.Query
- Specified by:
setFlushMode
in interfaceQuery<R>
- Specified by:
setFlushMode
in interfaceQuery<R>
- Specified by:
setFlushMode
in interfaceSQLQuery<R>
- Specified by:
setFlushMode
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setFlushMode
in classQueryWrapper<R>
-
setCacheMode
- Specified by:
setCacheMode
in interfaceBasicQueryContract<R>
- Specified by:
setCacheMode
in interfaceNativeQuery<R>
- Specified by:
setCacheMode
in interfaceQuery<R>
- Specified by:
setCacheMode
in interfaceQuery<R>
- Specified by:
setCacheMode
in interfaceSQLQuery<R>
- Overrides:
setCacheMode
in classQueryWrapper<R>
-
setCacheable
- Specified by:
setCacheable
in interfaceBasicQueryContract<R>
- Specified by:
setCacheable
in interfaceNativeQuery<R>
- Specified by:
setCacheable
in interfaceQuery<R>
- Specified by:
setCacheable
in interfaceQuery<R>
- Specified by:
setCacheable
in interfaceSQLQuery<R>
- Overrides:
setCacheable
in classQueryWrapper<R>
-
setCacheRegion
- Specified by:
setCacheRegion
in interfaceBasicQueryContract<R>
- Specified by:
setCacheRegion
in interfaceNativeQuery<R>
- Specified by:
setCacheRegion
in interfaceQuery<R>
- Specified by:
setCacheRegion
in interfaceQuery<R>
- Specified by:
setCacheRegion
in interfaceSQLQuery<R>
- Overrides:
setCacheRegion
in classQueryWrapper<R>
-
setTimeout
- Specified by:
setTimeout
in interfaceBasicQueryContract<R>
- Specified by:
setTimeout
in interfaceNativeQuery<R>
- Specified by:
setTimeout
in interfaceQuery<R>
- Specified by:
setTimeout
in interfaceQuery<R>
- Specified by:
setTimeout
in interfaceSQLQuery<R>
- Overrides:
setTimeout
in classQueryWrapper<R>
-
setFetchSize
- Specified by:
setFetchSize
in interfaceBasicQueryContract<R>
- Specified by:
setFetchSize
in interfaceNativeQuery<R>
- Specified by:
setFetchSize
in interfaceQuery<R>
- Specified by:
setFetchSize
in interfaceQuery<R>
- Specified by:
setFetchSize
in interfaceSQLQuery<R>
- Overrides:
setFetchSize
in classQueryWrapper<R>
-
setReadOnly
- Specified by:
setReadOnly
in interfaceBasicQueryContract<R>
- Specified by:
setReadOnly
in interfaceNativeQuery<R>
- Specified by:
setReadOnly
in interfaceQuery<R>
- Specified by:
setReadOnly
in interfaceQuery<R>
- Specified by:
setReadOnly
in interfaceSQLQuery<R>
- Overrides:
setReadOnly
in classQueryWrapper<R>
-
setLockOptions
- Specified by:
setLockOptions
in interfaceNativeQuery<R>
- Specified by:
setLockOptions
in interfaceQuery<R>
- Specified by:
setLockOptions
in interfaceQuery<R>
- Specified by:
setLockOptions
in interfaceSQLQuery<R>
- Overrides:
setLockOptions
in classQueryWrapper<R>
-
setLockMode
- Specified by:
setLockMode
in interfaceNativeQuery<R>
- Specified by:
setLockMode
in interfaceQuery<R>
- Specified by:
setLockMode
in interfaceQuery<R>
- Specified by:
setLockMode
in interfaceSQLQuery<R>
- Overrides:
setLockMode
in classQueryWrapper<R>
-
setComment
- Specified by:
setComment
in interfaceNativeQuery<R>
- Specified by:
setComment
in interfaceQuery<R>
- Specified by:
setComment
in interfaceQuery<R>
- Specified by:
setComment
in interfaceSQLQuery<R>
- Overrides:
setComment
in classQueryWrapper<R>
-
addQueryHint
- Specified by:
addQueryHint
in interfaceNativeQuery<R>
- Specified by:
addQueryHint
in interfaceQuery<R>
- Specified by:
addQueryHint
in interfaceQuery<R>
- Specified by:
addQueryHint
in interfaceSQLQuery<R>
- Overrides:
addQueryHint
in classQueryWrapper<R>
-
getSynchronizedQuerySpaces
- Specified by:
getSynchronizedQuerySpaces
in interfaceSynchronizeableQuery<R>
-
setFlushMode
- Specified by:
setFlushMode
in interfaceBasicQueryContract<R>
- Specified by:
setFlushMode
in interfaceNativeQuery<R>
- Specified by:
setFlushMode
in interfaceQuery<R>
- Specified by:
setFlushMode
in interfaceQuery<R>
- Specified by:
setFlushMode
in interfaceSQLQuery<R>
- Overrides:
setFlushMode
in classQueryWrapper<R>
-
setResultSetMapping
- Specified by:
setResultSetMapping
in interfaceNativeQuery<R>
- Specified by:
setResultSetMapping
in interfaceSQLQuery<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public <P> NativeQuery<R> setParameter(QueryParameter<P> parameter, P val, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(String name, Object val, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, Object val, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(javax.persistence.Parameter<Calendar> param, Calendar value, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(javax.persistence.Parameter<Date> param, Date value, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(String name, Calendar value, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(String name, Date value, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, Calendar value, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, Date value, javax.persistence.TemporalType temporalType) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.Query
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Specified by:
setParameter
in interfaceSQLQuery<R>
- Specified by:
setParameter
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceNativeQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceSQLQuery<R>
- Overrides:
setParameterList
in classQueryWrapper<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceNativeQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceSQLQuery<R>
- Overrides:
setParameterList
in classQueryWrapper<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceNativeQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceSQLQuery<R>
- Overrides:
setParameterList
in classQueryWrapper<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceNativeQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceSQLQuery<R>
- Overrides:
setParameterList
in classQueryWrapper<R>
-
setParameterList
- Specified by:
setParameterList
in interfaceNativeQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceQuery<R>
- Specified by:
setParameterList
in interfaceSQLQuery<R>
- Overrides:
setParameterList
in classQueryWrapper<R>
-
setProperties
- Specified by:
setProperties
in interfaceNativeQuery<R>
- Specified by:
setProperties
in interfaceQuery<R>
- Specified by:
setProperties
in interfaceQuery<R>
- Specified by:
setProperties
in interfaceSQLQuery<R>
- Overrides:
setProperties
in classQueryWrapper<R>
-
setProperties
- Specified by:
setProperties
in interfaceNativeQuery<R>
- Specified by:
setProperties
in interfaceQuery<R>
- Specified by:
setProperties
in interfaceQuery<R>
- Specified by:
setProperties
in interfaceSQLQuery<R>
- Overrides:
setProperties
in classQueryWrapper<R>
-
addSynchronizedQuerySpace
- Specified by:
addSynchronizedQuerySpace
in interfaceNativeQuery<R>
- Specified by:
addSynchronizedQuerySpace
in interfaceSQLQuery<R>
- Specified by:
addSynchronizedQuerySpace
in interfaceSynchronizeableQuery<R>
-
addSynchronizedEntityName
- Specified by:
addSynchronizedEntityName
in interfaceNativeQuery<R>
- Specified by:
addSynchronizedEntityName
in interfaceSQLQuery<R>
- Specified by:
addSynchronizedEntityName
in interfaceSynchronizeableQuery<R>
- Throws:
MappingException
-
addSynchronizedEntityClass
- Specified by:
addSynchronizedEntityClass
in interfaceNativeQuery<R>
- Specified by:
addSynchronizedEntityClass
in interfaceSQLQuery<R>
- Specified by:
addSynchronizedEntityClass
in interfaceSynchronizeableQuery<R>
- Throws:
MappingException
-
setFirstResult
- Specified by:
setFirstResult
in interfaceNativeQuery<R>
- Specified by:
setFirstResult
in interfacejavax.persistence.Query
- Specified by:
setFirstResult
in interfaceQuery<R>
- Specified by:
setFirstResult
in interfaceQuery<R>
- Specified by:
setFirstResult
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setFirstResult
in classQueryWrapper<R>
-
setMaxResults
- Specified by:
setMaxResults
in interfaceNativeQuery<R>
- Specified by:
setMaxResults
in interfacejavax.persistence.Query
- Specified by:
setMaxResults
in interfaceQuery<R>
- Specified by:
setMaxResults
in interfaceQuery<R>
- Specified by:
setMaxResults
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setMaxResults
in classQueryWrapper<R>
-
setHint
- Specified by:
setHint
in interfaceNativeQuery<R>
- Specified by:
setHint
in interfacejavax.persistence.Query
- Specified by:
setHint
in interfaceQuery<R>
- Specified by:
setHint
in interfaceQuery<R>
- Specified by:
setHint
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setHint
in classQueryWrapper<R>
-
setLockMode
- Specified by:
setLockMode
in interfaceNativeQuery<R>
- Specified by:
setLockMode
in interfacejavax.persistence.Query
- Specified by:
setLockMode
in interfaceQuery<R>
- Specified by:
setLockMode
in interfaceQuery<R>
- Specified by:
setLockMode
in interfacejavax.persistence.TypedQuery<R>
- Overrides:
setLockMode
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, Instant value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, LocalDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, OffsetDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(int position, ZonedDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(javax.persistence.Parameter<Instant> param, Instant value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(javax.persistence.Parameter<LocalDateTime> param, LocalDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(javax.persistence.Parameter<OffsetDateTime> param, OffsetDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(javax.persistence.Parameter<ZonedDateTime> param, ZonedDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
- Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(String name, LocalDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(String name, OffsetDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-
setParameter
public NativeQuery<R> setParameter(String name, ZonedDateTime value, javax.persistence.TemporalType type) - Specified by:
setParameter
in interfaceNativeQuery<R>
- Specified by:
setParameter
in interfaceQuery<R>
- Overrides:
setParameter
in classQueryWrapper<R>
-