Class NativeQueryWrapper<R>

  • All Implemented Interfaces:
    javax.persistence.Query, javax.persistence.TypedQuery<R>, org.hibernate.BasicQueryContract<org.hibernate.query.CommonQueryContract>, org.hibernate.Query<R>, org.hibernate.query.CommonQueryContract, org.hibernate.query.NativeQuery<R>, org.hibernate.query.Query<R>, org.hibernate.SQLQuery<R>, org.hibernate.SynchronizeableQuery<R>

    public class NativeQueryWrapper<R>
    extends QueryWrapper<R>
    implements org.hibernate.query.NativeQuery<R>
    A simple wrapper around hibernate native (SQL) queries which simply forwards all calls to a parent query.
    Since:
    3.12.1
    Author:
    nicklas
    • Field Detail

      • query

        protected final org.hibernate.query.NativeQuery<R> query
    • Constructor Detail

      • NativeQueryWrapper

        public NativeQueryWrapper​(org.hibernate.query.NativeQuery<R> query)
    • Method Detail

      • getParentQuery

        public org.hibernate.query.NativeQuery<R> getParentQuery()
        Get the underlying parent query from Hibernate.
      • isCallable

        @Deprecated
        public boolean isCallable()
        Deprecated.
        Specified by:
        isCallable in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        isCallable in interface org.hibernate.SQLQuery<R>
      • getQueryReturns

        @Deprecated
        public List<org.hibernate.engine.query.spi.sql.NativeSQLQueryReturn> getQueryReturns()
        Deprecated.
        Specified by:
        getQueryReturns in interface org.hibernate.SQLQuery<R>
      • addScalar

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addScalar​(String columnAlias)
        Deprecated.
        Specified by:
        addScalar in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addScalar in interface org.hibernate.SQLQuery<R>
      • addScalar

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addScalar​(String columnAlias,
                                                            org.hibernate.type.Type type)
        Deprecated.
        Specified by:
        addScalar in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addScalar in interface org.hibernate.SQLQuery<R>
      • addRoot

        @Deprecated
        public org.hibernate.SQLQuery.RootReturn addRoot​(String tableAlias,
                                                         String entityName)
        Deprecated.
        Specified by:
        addRoot in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addRoot in interface org.hibernate.SQLQuery<R>
      • addRoot

        @Deprecated
        public org.hibernate.SQLQuery.RootReturn addRoot​(String tableAlias,
                                                         Class entityType)
        Deprecated.
        Specified by:
        addRoot in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addRoot in interface org.hibernate.SQLQuery<R>
      • addEntity

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addEntity​(String entityName)
        Deprecated.
        Specified by:
        addEntity in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addEntity in interface org.hibernate.SQLQuery<R>
      • addEntity

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addEntity​(String tableAlias,
                                                            String entityName)
        Deprecated.
        Specified by:
        addEntity in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addEntity in interface org.hibernate.SQLQuery<R>
      • addEntity

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addEntity​(String tableAlias,
                                                            String entityName,
                                                            org.hibernate.LockMode lockMode)
        Deprecated.
        Specified by:
        addEntity in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addEntity in interface org.hibernate.SQLQuery<R>
      • addEntity

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addEntity​(Class entityType)
        Deprecated.
        Specified by:
        addEntity in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addEntity in interface org.hibernate.SQLQuery<R>
      • addEntity

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addEntity​(String tableAlias,
                                                            Class entityType)
        Deprecated.
        Specified by:
        addEntity in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addEntity in interface org.hibernate.SQLQuery<R>
      • addEntity

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addEntity​(String tableAlias,
                                                            Class entityClass,
                                                            org.hibernate.LockMode lockMode)
        Deprecated.
        Specified by:
        addEntity in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addEntity in interface org.hibernate.SQLQuery<R>
      • addFetch

        @Deprecated
        public org.hibernate.SQLQuery.FetchReturn addFetch​(String tableAlias,
                                                           String ownerTableAlias,
                                                           String joinPropertyName)
        Deprecated.
        Specified by:
        addFetch in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addFetch in interface org.hibernate.SQLQuery<R>
      • addJoin

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addJoin​(String tableAlias,
                                                          String path)
        Deprecated.
        Specified by:
        addJoin in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addJoin in interface org.hibernate.SQLQuery<R>
      • addJoin

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addJoin​(String tableAlias,
                                                          String ownerTableAlias,
                                                          String joinPropertyName)
        Deprecated.
        Specified by:
        addJoin in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addJoin in interface org.hibernate.SQLQuery<R>
      • addJoin

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addJoin​(String tableAlias,
                                                          String path,
                                                          org.hibernate.LockMode lockMode)
        Deprecated.
        Specified by:
        addJoin in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addJoin in interface org.hibernate.SQLQuery<R>
      • setHibernateFlushMode

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setHibernateFlushMode​(org.hibernate.FlushMode flushMode)
        Deprecated.
        Specified by:
        setHibernateFlushMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setHibernateFlushMode in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setHibernateFlushMode in interface org.hibernate.Query<R>
        Specified by:
        setHibernateFlushMode in interface org.hibernate.query.Query<R>
        Specified by:
        setHibernateFlushMode in interface org.hibernate.SQLQuery<R>
        Overrides:
        setHibernateFlushMode in class QueryWrapper<R>
      • setFlushMode

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setFlushMode​(javax.persistence.FlushModeType flushMode)
        Deprecated.
        Specified by:
        setFlushMode in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setFlushMode in interface javax.persistence.Query
        Specified by:
        setFlushMode in interface org.hibernate.Query<R>
        Specified by:
        setFlushMode in interface org.hibernate.query.Query<R>
        Specified by:
        setFlushMode in interface org.hibernate.SQLQuery<R>
        Specified by:
        setFlushMode in interface javax.persistence.TypedQuery<R>
        Overrides:
        setFlushMode in class QueryWrapper<R>
      • setCacheMode

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setCacheMode​(org.hibernate.CacheMode cacheMode)
        Deprecated.
        Specified by:
        setCacheMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setCacheMode in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setCacheMode in interface org.hibernate.Query<R>
        Specified by:
        setCacheMode in interface org.hibernate.query.Query<R>
        Specified by:
        setCacheMode in interface org.hibernate.SQLQuery<R>
        Overrides:
        setCacheMode in class QueryWrapper<R>
      • setCacheable

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setCacheable​(boolean cacheable)
        Deprecated.
        Specified by:
        setCacheable in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setCacheable in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setCacheable in interface org.hibernate.Query<R>
        Specified by:
        setCacheable in interface org.hibernate.query.Query<R>
        Specified by:
        setCacheable in interface org.hibernate.SQLQuery<R>
        Overrides:
        setCacheable in class QueryWrapper<R>
      • setCacheRegion

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setCacheRegion​(String cacheRegion)
        Deprecated.
        Specified by:
        setCacheRegion in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setCacheRegion in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setCacheRegion in interface org.hibernate.Query<R>
        Specified by:
        setCacheRegion in interface org.hibernate.query.Query<R>
        Specified by:
        setCacheRegion in interface org.hibernate.SQLQuery<R>
        Overrides:
        setCacheRegion in class QueryWrapper<R>
      • setTimeout

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setTimeout​(int timeout)
        Deprecated.
        Specified by:
        setTimeout in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setTimeout in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setTimeout in interface org.hibernate.Query<R>
        Specified by:
        setTimeout in interface org.hibernate.query.Query<R>
        Specified by:
        setTimeout in interface org.hibernate.SQLQuery<R>
        Overrides:
        setTimeout in class QueryWrapper<R>
      • setFetchSize

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setFetchSize​(int fetchSize)
        Deprecated.
        Specified by:
        setFetchSize in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setFetchSize in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setFetchSize in interface org.hibernate.Query<R>
        Specified by:
        setFetchSize in interface org.hibernate.query.Query<R>
        Specified by:
        setFetchSize in interface org.hibernate.SQLQuery<R>
        Overrides:
        setFetchSize in class QueryWrapper<R>
      • setReadOnly

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setReadOnly​(boolean readOnly)
        Deprecated.
        Specified by:
        setReadOnly in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setReadOnly in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setReadOnly in interface org.hibernate.Query<R>
        Specified by:
        setReadOnly in interface org.hibernate.query.Query<R>
        Specified by:
        setReadOnly in interface org.hibernate.SQLQuery<R>
        Overrides:
        setReadOnly in class QueryWrapper<R>
      • setLockOptions

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setLockOptions​(org.hibernate.LockOptions lockOptions)
        Deprecated.
        Specified by:
        setLockOptions in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setLockOptions in interface org.hibernate.Query<R>
        Specified by:
        setLockOptions in interface org.hibernate.query.Query<R>
        Specified by:
        setLockOptions in interface org.hibernate.SQLQuery<R>
        Overrides:
        setLockOptions in class QueryWrapper<R>
      • setLockMode

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setLockMode​(String alias,
                                                              org.hibernate.LockMode lockMode)
        Deprecated.
        Specified by:
        setLockMode in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setLockMode in interface org.hibernate.Query<R>
        Specified by:
        setLockMode in interface org.hibernate.query.Query<R>
        Specified by:
        setLockMode in interface org.hibernate.SQLQuery<R>
        Overrides:
        setLockMode in class QueryWrapper<R>
      • setComment

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setComment​(String comment)
        Deprecated.
        Specified by:
        setComment in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setComment in interface org.hibernate.Query<R>
        Specified by:
        setComment in interface org.hibernate.query.Query<R>
        Specified by:
        setComment in interface org.hibernate.SQLQuery<R>
        Overrides:
        setComment in class QueryWrapper<R>
      • addQueryHint

        @Deprecated
        public org.hibernate.query.NativeQuery<R> addQueryHint​(String hint)
        Deprecated.
        Specified by:
        addQueryHint in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addQueryHint in interface org.hibernate.Query<R>
        Specified by:
        addQueryHint in interface org.hibernate.query.Query<R>
        Specified by:
        addQueryHint in interface org.hibernate.SQLQuery<R>
        Overrides:
        addQueryHint in class QueryWrapper<R>
      • getSynchronizedQuerySpaces

        public Collection<String> getSynchronizedQuerySpaces()
        Specified by:
        getSynchronizedQuerySpaces in interface org.hibernate.SynchronizeableQuery<R>
      • setFlushMode

        @Deprecated
        public org.hibernate.query.NativeQuery<R> setFlushMode​(org.hibernate.FlushMode flushMode)
        Deprecated.
        Specified by:
        setFlushMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setFlushMode in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setFlushMode in interface org.hibernate.Query<R>
        Specified by:
        setFlushMode in interface org.hibernate.query.Query<R>
        Specified by:
        setFlushMode in interface org.hibernate.SQLQuery<R>
        Overrides:
        setFlushMode in class QueryWrapper<R>
      • setResultSetMapping

        public org.hibernate.query.NativeQuery<R> setResultSetMapping​(String name)
        Specified by:
        setResultSetMapping in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setResultSetMapping in interface org.hibernate.SQLQuery<R>
      • setParameter

        public <P> org.hibernate.query.NativeQuery<R> setParameter​(org.hibernate.query.QueryParameter<P> parameter,
                                                                   P val)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public <P> org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<P> param,
                                                                   P value)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public <P> org.hibernate.query.NativeQuery<R> setParameter​(org.hibernate.query.QueryParameter<P> parameter,
                                                                   P val,
                                                                   org.hibernate.type.Type type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               Object val,
                                                               org.hibernate.type.Type type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               Object val,
                                                               org.hibernate.type.Type type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public <P> org.hibernate.query.NativeQuery<R> setParameter​(org.hibernate.query.QueryParameter<P> parameter,
                                                                   P val,
                                                                   javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               Object val,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               Object val,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<Calendar> param,
                                                               Calendar value,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<Date> param,
                                                               Date value,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               Object value)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               Calendar value,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               Date value,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               Object value)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               Calendar value,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               Date value,
                                                               javax.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface javax.persistence.Query
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Specified by:
        setParameter in interface org.hibernate.SQLQuery<R>
        Specified by:
        setParameter in interface javax.persistence.TypedQuery<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameterList

        public <P> org.hibernate.query.NativeQuery<R> setParameterList​(org.hibernate.query.QueryParameter<P> parameter,
                                                                       Collection<P> values)
        Specified by:
        setParameterList in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameterList in class QueryWrapper<R>
      • setParameterList

        public org.hibernate.query.NativeQuery<R> setParameterList​(String name,
                                                                   Collection values)
        Specified by:
        setParameterList in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameterList in class QueryWrapper<R>
      • setParameterList

        public org.hibernate.query.NativeQuery<R> setParameterList​(String name,
                                                                   Collection values,
                                                                   org.hibernate.type.Type type)
        Specified by:
        setParameterList in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameterList in class QueryWrapper<R>
      • setParameterList

        public org.hibernate.query.NativeQuery<R> setParameterList​(String name,
                                                                   Object[] values,
                                                                   org.hibernate.type.Type type)
        Specified by:
        setParameterList in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameterList in class QueryWrapper<R>
      • setParameterList

        public org.hibernate.query.NativeQuery<R> setParameterList​(String name,
                                                                   Object[] values)
        Specified by:
        setParameterList in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.SQLQuery<R>
        Overrides:
        setParameterList in class QueryWrapper<R>
      • setProperties

        public org.hibernate.query.NativeQuery<R> setProperties​(Object bean)
        Specified by:
        setProperties in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setProperties in interface org.hibernate.Query<R>
        Specified by:
        setProperties in interface org.hibernate.query.Query<R>
        Specified by:
        setProperties in interface org.hibernate.SQLQuery<R>
        Overrides:
        setProperties in class QueryWrapper<R>
      • setProperties

        public org.hibernate.query.NativeQuery<R> setProperties​(Map bean)
        Specified by:
        setProperties in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setProperties in interface org.hibernate.Query<R>
        Specified by:
        setProperties in interface org.hibernate.query.Query<R>
        Specified by:
        setProperties in interface org.hibernate.SQLQuery<R>
        Overrides:
        setProperties in class QueryWrapper<R>
      • addSynchronizedQuerySpace

        public org.hibernate.query.NativeQuery<R> addSynchronizedQuerySpace​(String querySpace)
        Specified by:
        addSynchronizedQuerySpace in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addSynchronizedQuerySpace in interface org.hibernate.SQLQuery<R>
        Specified by:
        addSynchronizedQuerySpace in interface org.hibernate.SynchronizeableQuery<R>
      • addSynchronizedEntityName

        public org.hibernate.query.NativeQuery<R> addSynchronizedEntityName​(String entityName)
                                                                     throws org.hibernate.MappingException
        Specified by:
        addSynchronizedEntityName in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addSynchronizedEntityName in interface org.hibernate.SQLQuery<R>
        Specified by:
        addSynchronizedEntityName in interface org.hibernate.SynchronizeableQuery<R>
        Throws:
        org.hibernate.MappingException
      • addSynchronizedEntityClass

        public org.hibernate.query.NativeQuery<R> addSynchronizedEntityClass​(Class entityClass)
                                                                      throws org.hibernate.MappingException
        Specified by:
        addSynchronizedEntityClass in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        addSynchronizedEntityClass in interface org.hibernate.SQLQuery<R>
        Specified by:
        addSynchronizedEntityClass in interface org.hibernate.SynchronizeableQuery<R>
        Throws:
        org.hibernate.MappingException
      • setFirstResult

        public org.hibernate.query.NativeQuery<R> setFirstResult​(int firstResult)
        Specified by:
        setFirstResult in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setFirstResult in interface javax.persistence.Query
        Specified by:
        setFirstResult in interface org.hibernate.Query<R>
        Specified by:
        setFirstResult in interface org.hibernate.query.Query<R>
        Specified by:
        setFirstResult in interface javax.persistence.TypedQuery<R>
        Overrides:
        setFirstResult in class QueryWrapper<R>
      • setMaxResults

        public org.hibernate.query.NativeQuery<R> setMaxResults​(int maxResults)
        Specified by:
        setMaxResults in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setMaxResults in interface javax.persistence.Query
        Specified by:
        setMaxResults in interface org.hibernate.Query<R>
        Specified by:
        setMaxResults in interface org.hibernate.query.Query<R>
        Specified by:
        setMaxResults in interface javax.persistence.TypedQuery<R>
        Overrides:
        setMaxResults in class QueryWrapper<R>
      • setHint

        public org.hibernate.query.NativeQuery<R> setHint​(String name,
                                                          Object value)
        Specified by:
        setHint in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setHint in interface javax.persistence.Query
        Specified by:
        setHint in interface org.hibernate.Query<R>
        Specified by:
        setHint in interface org.hibernate.query.Query<R>
        Specified by:
        setHint in interface javax.persistence.TypedQuery<R>
        Overrides:
        setHint in class QueryWrapper<R>
      • setLockMode

        public org.hibernate.query.NativeQuery<R> setLockMode​(javax.persistence.LockModeType lockMode)
        Specified by:
        setLockMode in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setLockMode in interface javax.persistence.Query
        Specified by:
        setLockMode in interface org.hibernate.Query<R>
        Specified by:
        setLockMode in interface org.hibernate.query.Query<R>
        Specified by:
        setLockMode in interface javax.persistence.TypedQuery<R>
        Overrides:
        setLockMode in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               Instant value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               LocalDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               OffsetDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(int position,
                                                               ZonedDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<Instant> param,
                                                               Instant value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<LocalDateTime> param,
                                                               LocalDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<OffsetDateTime> param,
                                                               OffsetDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(javax.persistence.Parameter<ZonedDateTime> param,
                                                               ZonedDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               Instant value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               LocalDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               OffsetDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>
      • setParameter

        public org.hibernate.query.NativeQuery<R> setParameter​(String name,
                                                               ZonedDateTime value,
                                                               javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.query.NativeQuery<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
        Overrides:
        setParameter in class QueryWrapper<R>