Class QueryWrapper<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.Query<R>
    Direct Known Subclasses:
    EntityQueryWrapper, NativeQueryWrapper

    public class QueryWrapper<R>
    extends Object
    implements org.hibernate.query.Query<R>
    A simple wrapper around hibernate queries which simply forwards all calls to a parent query.
    Version:
    2.5
    Author:
    nicklas
    Last modified
    $Date: 2018-11-06 15:50:29 +0100 (ti, 06 nov 2018) $
    • Field Detail

      • query

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

      • QueryWrapper

        public QueryWrapper​(org.hibernate.query.Query<R> query)
    • Method Detail

      • executeUpdate

        public int executeUpdate()
                          throws org.hibernate.HibernateException
        Specified by:
        executeUpdate in interface javax.persistence.Query
        Throws:
        org.hibernate.HibernateException
      • getNamedParameters

        @Deprecated
        public String[] getNamedParameters()
                                    throws org.hibernate.HibernateException
        Deprecated.
        Specified by:
        getNamedParameters in interface org.hibernate.Query<R>
        Throws:
        org.hibernate.HibernateException
      • getQueryString

        public String getQueryString()
        Specified by:
        getQueryString in interface org.hibernate.Query<R>
        Specified by:
        getQueryString in interface org.hibernate.query.Query<R>
      • getReturnAliases

        @Deprecated
        public String[] getReturnAliases()
                                  throws org.hibernate.HibernateException
        Deprecated.
        Specified by:
        getReturnAliases in interface org.hibernate.Query<R>
        Throws:
        org.hibernate.HibernateException
      • getReturnTypes

        @Deprecated
        public org.hibernate.type.Type[] getReturnTypes()
                                                 throws org.hibernate.HibernateException
        Deprecated.
        Specified by:
        getReturnTypes in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        getReturnTypes in interface org.hibernate.Query<R>
        Throws:
        org.hibernate.HibernateException
      • isReadOnly

        @Deprecated
        public boolean isReadOnly()
        Deprecated.
        Specified by:
        isReadOnly in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        isReadOnly in interface org.hibernate.Query<R>
      • iterate

        @Deprecated
        public Iterator<R> iterate()
                            throws org.hibernate.HibernateException
        Deprecated.
        Specified by:
        iterate in interface org.hibernate.Query<R>
        Throws:
        org.hibernate.HibernateException
      • list

        public List<R> list()
                     throws org.hibernate.HibernateException
        Specified by:
        list in interface org.hibernate.Query<R>
        Specified by:
        list in interface org.hibernate.query.Query<R>
        Throws:
        org.hibernate.HibernateException
      • scroll

        public org.hibernate.ScrollableResults scroll()
                                               throws org.hibernate.HibernateException
        Specified by:
        scroll in interface org.hibernate.Query<R>
        Specified by:
        scroll in interface org.hibernate.query.Query<R>
        Throws:
        org.hibernate.HibernateException
      • scroll

        public org.hibernate.ScrollableResults scroll​(org.hibernate.ScrollMode scrollMode)
                                               throws org.hibernate.HibernateException
        Specified by:
        scroll in interface org.hibernate.Query<R>
        Specified by:
        scroll in interface org.hibernate.query.Query<R>
        Throws:
        org.hibernate.HibernateException
      • setBigDecimal

        @Deprecated
        public org.hibernate.query.Query<R> setBigDecimal​(int position,
                                                          BigDecimal number)
        Deprecated.
        Specified by:
        setBigDecimal in interface org.hibernate.Query<R>
        Specified by:
        setBigDecimal in interface org.hibernate.query.Query<R>
      • setBigDecimal

        @Deprecated
        public org.hibernate.query.Query<R> setBigDecimal​(String name,
                                                          BigDecimal number)
        Deprecated.
        Specified by:
        setBigDecimal in interface org.hibernate.Query<R>
        Specified by:
        setBigDecimal in interface org.hibernate.query.Query<R>
      • setBigInteger

        @Deprecated
        public org.hibernate.query.Query<R> setBigInteger​(int position,
                                                          BigInteger number)
        Deprecated.
        Specified by:
        setBigInteger in interface org.hibernate.Query<R>
        Specified by:
        setBigInteger in interface org.hibernate.query.Query<R>
      • setBigInteger

        @Deprecated
        public org.hibernate.query.Query<R> setBigInteger​(String name,
                                                          BigInteger number)
        Deprecated.
        Specified by:
        setBigInteger in interface org.hibernate.Query<R>
        Specified by:
        setBigInteger in interface org.hibernate.query.Query<R>
      • setBinary

        @Deprecated
        public org.hibernate.query.Query<R> setBinary​(int position,
                                                      byte[] val)
        Deprecated.
        Specified by:
        setBinary in interface org.hibernate.Query<R>
        Specified by:
        setBinary in interface org.hibernate.query.Query<R>
      • setBinary

        @Deprecated
        public org.hibernate.query.Query<R> setBinary​(String name,
                                                      byte[] val)
        Deprecated.
        Specified by:
        setBinary in interface org.hibernate.Query<R>
        Specified by:
        setBinary in interface org.hibernate.query.Query<R>
      • setBoolean

        @Deprecated
        public org.hibernate.query.Query<R> setBoolean​(int position,
                                                       boolean val)
        Deprecated.
        Specified by:
        setBoolean in interface org.hibernate.Query<R>
        Specified by:
        setBoolean in interface org.hibernate.query.Query<R>
      • setBoolean

        @Deprecated
        public org.hibernate.query.Query<R> setBoolean​(String name,
                                                       boolean val)
        Deprecated.
        Specified by:
        setBoolean in interface org.hibernate.Query<R>
        Specified by:
        setBoolean in interface org.hibernate.query.Query<R>
      • setByte

        @Deprecated
        public org.hibernate.query.Query<R> setByte​(int position,
                                                    byte val)
        Deprecated.
        Specified by:
        setByte in interface org.hibernate.Query<R>
        Specified by:
        setByte in interface org.hibernate.query.Query<R>
      • setByte

        @Deprecated
        public org.hibernate.query.Query<R> setByte​(String name,
                                                    byte val)
        Deprecated.
        Specified by:
        setByte in interface org.hibernate.Query<R>
        Specified by:
        setByte in interface org.hibernate.query.Query<R>
      • setCacheMode

        public org.hibernate.query.Query<R> setCacheMode​(org.hibernate.CacheMode cacheMode)
        Specified by:
        setCacheMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setCacheMode in interface org.hibernate.Query<R>
        Specified by:
        setCacheMode in interface org.hibernate.query.Query<R>
      • setCacheRegion

        public org.hibernate.query.Query<R> setCacheRegion​(String cacheRegion)
        Specified by:
        setCacheRegion in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setCacheRegion in interface org.hibernate.Query<R>
        Specified by:
        setCacheRegion in interface org.hibernate.query.Query<R>
      • setCacheable

        public org.hibernate.query.Query<R> setCacheable​(boolean cacheable)
        Specified by:
        setCacheable in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setCacheable in interface org.hibernate.Query<R>
        Specified by:
        setCacheable in interface org.hibernate.query.Query<R>
      • setCalendar

        @Deprecated
        public org.hibernate.query.Query<R> setCalendar​(int position,
                                                        Calendar calendar)
        Deprecated.
        Specified by:
        setCalendar in interface org.hibernate.Query<R>
        Specified by:
        setCalendar in interface org.hibernate.query.Query<R>
      • setCalendar

        @Deprecated
        public org.hibernate.query.Query<R> setCalendar​(String name,
                                                        Calendar calendar)
        Deprecated.
        Specified by:
        setCalendar in interface org.hibernate.Query<R>
        Specified by:
        setCalendar in interface org.hibernate.query.Query<R>
      • setCalendarDate

        @Deprecated
        public org.hibernate.query.Query<R> setCalendarDate​(int position,
                                                            Calendar calendar)
        Deprecated.
        Specified by:
        setCalendarDate in interface org.hibernate.Query<R>
        Specified by:
        setCalendarDate in interface org.hibernate.query.Query<R>
      • setCalendarDate

        @Deprecated
        public org.hibernate.query.Query<R> setCalendarDate​(String name,
                                                            Calendar calendar)
        Deprecated.
        Specified by:
        setCalendarDate in interface org.hibernate.Query<R>
        Specified by:
        setCalendarDate in interface org.hibernate.query.Query<R>
      • setCharacter

        @Deprecated
        public org.hibernate.query.Query<R> setCharacter​(int position,
                                                         char val)
        Deprecated.
        Specified by:
        setCharacter in interface org.hibernate.Query<R>
        Specified by:
        setCharacter in interface org.hibernate.query.Query<R>
      • setCharacter

        @Deprecated
        public org.hibernate.query.Query<R> setCharacter​(String name,
                                                         char val)
        Deprecated.
        Specified by:
        setCharacter in interface org.hibernate.Query<R>
        Specified by:
        setCharacter in interface org.hibernate.query.Query<R>
      • setComment

        public org.hibernate.query.Query<R> setComment​(String comment)
        Specified by:
        setComment in interface org.hibernate.Query<R>
        Specified by:
        setComment in interface org.hibernate.query.Query<R>
      • setDate

        @Deprecated
        public org.hibernate.query.Query<R> setDate​(int position,
                                                    Date date)
        Deprecated.
        Specified by:
        setDate in interface org.hibernate.Query<R>
        Specified by:
        setDate in interface org.hibernate.query.Query<R>
      • setDate

        @Deprecated
        public org.hibernate.query.Query<R> setDate​(String name,
                                                    Date date)
        Deprecated.
        Specified by:
        setDate in interface org.hibernate.Query<R>
        Specified by:
        setDate in interface org.hibernate.query.Query<R>
      • setDouble

        @Deprecated
        public org.hibernate.query.Query<R> setDouble​(int position,
                                                      double val)
        Deprecated.
        Specified by:
        setDouble in interface org.hibernate.Query<R>
        Specified by:
        setDouble in interface org.hibernate.query.Query<R>
      • setDouble

        @Deprecated
        public org.hibernate.query.Query<R> setDouble​(String name,
                                                      double val)
        Deprecated.
        Specified by:
        setDouble in interface org.hibernate.Query<R>
        Specified by:
        setDouble in interface org.hibernate.query.Query<R>
      • setEntity

        @Deprecated
        public org.hibernate.query.Query<R> setEntity​(int position,
                                                      Object val)
        Deprecated.
        Specified by:
        setEntity in interface org.hibernate.Query<R>
        Specified by:
        setEntity in interface org.hibernate.query.Query<R>
      • setEntity

        @Deprecated
        public org.hibernate.query.Query<R> setEntity​(String name,
                                                      Object val)
        Deprecated.
        Specified by:
        setEntity in interface org.hibernate.Query<R>
        Specified by:
        setEntity in interface org.hibernate.query.Query<R>
      • setFetchSize

        public org.hibernate.query.Query<R> setFetchSize​(int fetchSize)
        Specified by:
        setFetchSize in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setFetchSize in interface org.hibernate.Query<R>
        Specified by:
        setFetchSize in interface org.hibernate.query.Query<R>
      • setFirstResult

        public org.hibernate.query.Query<R> setFirstResult​(int firstResult)
        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>
      • setFloat

        @Deprecated
        public org.hibernate.query.Query<R> setFloat​(int position,
                                                     float val)
        Deprecated.
        Specified by:
        setFloat in interface org.hibernate.Query<R>
        Specified by:
        setFloat in interface org.hibernate.query.Query<R>
      • setFloat

        @Deprecated
        public org.hibernate.query.Query<R> setFloat​(String name,
                                                     float val)
        Deprecated.
        Specified by:
        setFloat in interface org.hibernate.Query<R>
        Specified by:
        setFloat in interface org.hibernate.query.Query<R>
      • setFlushMode

        @Deprecated
        public org.hibernate.query.Query<R> setFlushMode​(org.hibernate.FlushMode flushMode)
        Deprecated.
        Specified by:
        setFlushMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setFlushMode in interface org.hibernate.Query<R>
        Specified by:
        setFlushMode in interface org.hibernate.query.Query<R>
      • setInteger

        @Deprecated
        public org.hibernate.query.Query<R> setInteger​(int position,
                                                       int val)
        Deprecated.
        Specified by:
        setInteger in interface org.hibernate.Query<R>
        Specified by:
        setInteger in interface org.hibernate.query.Query<R>
      • setInteger

        @Deprecated
        public org.hibernate.query.Query<R> setInteger​(String name,
                                                       int val)
        Deprecated.
        Specified by:
        setInteger in interface org.hibernate.Query<R>
        Specified by:
        setInteger in interface org.hibernate.query.Query<R>
      • setLocale

        @Deprecated
        public org.hibernate.query.Query<R> setLocale​(int position,
                                                      Locale locale)
        Deprecated.
        Specified by:
        setLocale in interface org.hibernate.Query<R>
        Specified by:
        setLocale in interface org.hibernate.query.Query<R>
      • setLocale

        @Deprecated
        public org.hibernate.query.Query<R> setLocale​(String name,
                                                      Locale locale)
        Deprecated.
        Specified by:
        setLocale in interface org.hibernate.Query<R>
        Specified by:
        setLocale in interface org.hibernate.query.Query<R>
      • setLockMode

        public org.hibernate.query.Query<R> setLockMode​(String alias,
                                                        org.hibernate.LockMode lockMode)
        Specified by:
        setLockMode in interface org.hibernate.Query<R>
        Specified by:
        setLockMode in interface org.hibernate.query.Query<R>
      • setLockOptions

        public org.hibernate.query.Query<R> setLockOptions​(org.hibernate.LockOptions lockOptions)
        Specified by:
        setLockOptions in interface org.hibernate.Query<R>
        Specified by:
        setLockOptions in interface org.hibernate.query.Query<R>
      • setLong

        @Deprecated
        public org.hibernate.query.Query<R> setLong​(int position,
                                                    long val)
        Deprecated.
        Specified by:
        setLong in interface org.hibernate.Query<R>
        Specified by:
        setLong in interface org.hibernate.query.Query<R>
      • setLong

        @Deprecated
        public org.hibernate.query.Query<R> setLong​(String name,
                                                    long val)
        Deprecated.
        Specified by:
        setLong in interface org.hibernate.Query<R>
        Specified by:
        setLong in interface org.hibernate.query.Query<R>
      • setMaxResults

        public org.hibernate.query.Query<R> setMaxResults​(int maxResults)
        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>
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(int position,
                                                         Object val)
                                                  throws org.hibernate.HibernateException
        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 javax.persistence.TypedQuery<R>
        Throws:
        org.hibernate.HibernateException
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(String name,
                                                         Object val)
                                                  throws org.hibernate.HibernateException
        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 javax.persistence.TypedQuery<R>
        Throws:
        org.hibernate.HibernateException
      • setParameter

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

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

        public org.hibernate.query.Query<R> setParameterList​(String name,
                                                             Collection vals)
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
      • setParameterList

        public org.hibernate.query.Query<R> setParameterList​(String name,
                                                             Object[] vals)
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
      • setParameterList

        public org.hibernate.query.Query<R> setParameterList​(String name,
                                                             Collection vals,
                                                             org.hibernate.type.Type type)
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
      • setParameterList

        public org.hibernate.query.Query<R> setParameterList​(String name,
                                                             Object[] vals,
                                                             org.hibernate.type.Type type)
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
      • setParameters

        @Deprecated
        public org.hibernate.query.Query<R> setParameters​(Object[] values,
                                                          org.hibernate.type.Type[] types)
        Deprecated.
        Specified by:
        setParameters in interface org.hibernate.Query<R>
        Specified by:
        setParameters in interface org.hibernate.query.Query<R>
      • setProperties

        public org.hibernate.query.Query<R> setProperties​(Object bean)
                                                   throws org.hibernate.HibernateException
        Specified by:
        setProperties in interface org.hibernate.Query<R>
        Specified by:
        setProperties in interface org.hibernate.query.Query<R>
        Throws:
        org.hibernate.HibernateException
      • setProperties

        public org.hibernate.query.Query<R> setProperties​(Map bean)
                                                   throws org.hibernate.HibernateException
        Specified by:
        setProperties in interface org.hibernate.Query<R>
        Specified by:
        setProperties in interface org.hibernate.query.Query<R>
        Throws:
        org.hibernate.HibernateException
      • setReadOnly

        public org.hibernate.query.Query<R> setReadOnly​(boolean readOnly)
        Specified by:
        setReadOnly in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setReadOnly in interface org.hibernate.Query<R>
        Specified by:
        setReadOnly in interface org.hibernate.query.Query<R>
      • setResultTransformer

        @Deprecated
        public org.hibernate.query.Query<R> setResultTransformer​(org.hibernate.transform.ResultTransformer transformer)
        Deprecated.
        Specified by:
        setResultTransformer in interface org.hibernate.Query<R>
        Specified by:
        setResultTransformer in interface org.hibernate.query.Query<R>
      • setSerializable

        @Deprecated
        public org.hibernate.query.Query<R> setSerializable​(int position,
                                                            Serializable val)
        Deprecated.
        Specified by:
        setSerializable in interface org.hibernate.Query<R>
        Specified by:
        setSerializable in interface org.hibernate.query.Query<R>
      • setSerializable

        @Deprecated
        public org.hibernate.query.Query<R> setSerializable​(String name,
                                                            Serializable val)
        Deprecated.
        Specified by:
        setSerializable in interface org.hibernate.Query<R>
        Specified by:
        setSerializable in interface org.hibernate.query.Query<R>
      • setShort

        @Deprecated
        public org.hibernate.query.Query<R> setShort​(int position,
                                                     short val)
        Deprecated.
        Specified by:
        setShort in interface org.hibernate.Query<R>
        Specified by:
        setShort in interface org.hibernate.query.Query<R>
      • setShort

        @Deprecated
        public org.hibernate.query.Query<R> setShort​(String name,
                                                     short val)
        Deprecated.
        Specified by:
        setShort in interface org.hibernate.Query<R>
        Specified by:
        setShort in interface org.hibernate.query.Query<R>
      • setString

        @Deprecated
        public org.hibernate.query.Query<R> setString​(int position,
                                                      String val)
        Deprecated.
        Specified by:
        setString in interface org.hibernate.Query<R>
        Specified by:
        setString in interface org.hibernate.query.Query<R>
      • setString

        @Deprecated
        public org.hibernate.query.Query<R> setString​(String name,
                                                      String val)
        Deprecated.
        Specified by:
        setString in interface org.hibernate.Query<R>
        Specified by:
        setString in interface org.hibernate.query.Query<R>
      • setText

        @Deprecated
        public org.hibernate.query.Query<R> setText​(int position,
                                                    String val)
        Deprecated.
        Specified by:
        setText in interface org.hibernate.Query<R>
        Specified by:
        setText in interface org.hibernate.query.Query<R>
      • setText

        @Deprecated
        public org.hibernate.query.Query<R> setText​(String name,
                                                    String val)
        Deprecated.
        Specified by:
        setText in interface org.hibernate.Query<R>
        Specified by:
        setText in interface org.hibernate.query.Query<R>
      • setTime

        @Deprecated
        public org.hibernate.query.Query<R> setTime​(int position,
                                                    Date date)
        Deprecated.
        Specified by:
        setTime in interface org.hibernate.Query<R>
        Specified by:
        setTime in interface org.hibernate.query.Query<R>
      • setTime

        @Deprecated
        public org.hibernate.query.Query<R> setTime​(String name,
                                                    Date date)
        Deprecated.
        Specified by:
        setTime in interface org.hibernate.Query<R>
        Specified by:
        setTime in interface org.hibernate.query.Query<R>
      • setTimeout

        public org.hibernate.query.Query<R> setTimeout​(int timeout)
        Specified by:
        setTimeout in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setTimeout in interface org.hibernate.Query<R>
        Specified by:
        setTimeout in interface org.hibernate.query.Query<R>
      • setTimestamp

        @Deprecated
        public org.hibernate.query.Query<R> setTimestamp​(int position,
                                                         Date date)
        Deprecated.
        Specified by:
        setTimestamp in interface org.hibernate.Query<R>
        Specified by:
        setTimestamp in interface org.hibernate.query.Query<R>
      • setTimestamp

        @Deprecated
        public org.hibernate.query.Query<R> setTimestamp​(String name,
                                                         Date date)
        Deprecated.
        Specified by:
        setTimestamp in interface org.hibernate.Query<R>
        Specified by:
        setTimestamp in interface org.hibernate.query.Query<R>
      • uniqueResult

        public R uniqueResult()
                       throws org.hibernate.HibernateException
        Specified by:
        uniqueResult in interface org.hibernate.Query<R>
        Specified by:
        uniqueResult in interface org.hibernate.query.Query<R>
        Throws:
        org.hibernate.HibernateException
      • getFlushMode

        @Deprecated
        public javax.persistence.FlushModeType getFlushMode()
        Deprecated.
        Specified by:
        getFlushMode in interface javax.persistence.Query
        Specified by:
        getFlushMode in interface org.hibernate.Query<R>
      • getCacheMode

        public org.hibernate.CacheMode getCacheMode()
        Specified by:
        getCacheMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        getCacheMode in interface org.hibernate.Query<R>
        Specified by:
        getCacheMode in interface org.hibernate.query.Query<R>
      • isCacheable

        @Deprecated
        public boolean isCacheable()
        Deprecated.
        Specified by:
        isCacheable in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        isCacheable in interface org.hibernate.Query<R>
      • getCacheRegion

        public String getCacheRegion()
        Specified by:
        getCacheRegion in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        getCacheRegion in interface org.hibernate.Query<R>
        Specified by:
        getCacheRegion in interface org.hibernate.query.Query<R>
      • getTimeout

        @Deprecated
        public Integer getTimeout()
        Deprecated.
        Specified by:
        getTimeout in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        getTimeout in interface org.hibernate.Query<R>
      • getFetchSize

        public Integer getFetchSize()
        Specified by:
        getFetchSize in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        getFetchSize in interface org.hibernate.Query<R>
        Specified by:
        getFetchSize in interface org.hibernate.query.Query<R>
      • getMaxResults

        public int getMaxResults()
        Specified by:
        getMaxResults in interface javax.persistence.Query
      • getFirstResult

        public int getFirstResult()
        Specified by:
        getFirstResult in interface javax.persistence.Query
      • getLockOptions

        public org.hibernate.LockOptions getLockOptions()
        Specified by:
        getLockOptions in interface org.hibernate.Query<R>
        Specified by:
        getLockOptions in interface org.hibernate.query.Query<R>
      • getComment

        public String getComment()
        Specified by:
        getComment in interface org.hibernate.Query<R>
        Specified by:
        getComment in interface org.hibernate.query.Query<R>
      • addQueryHint

        public org.hibernate.query.Query<R> addQueryHint​(String hint)
        Specified by:
        addQueryHint in interface org.hibernate.Query<R>
        Specified by:
        addQueryHint in interface org.hibernate.query.Query<R>
      • getHints

        public Map<String,​Object> getHints()
        Specified by:
        getHints in interface javax.persistence.Query
      • getLockMode

        public javax.persistence.LockModeType getLockMode()
        Specified by:
        getLockMode in interface javax.persistence.Query
      • getParameter

        public <T> javax.persistence.Parameter<T> getParameter​(int position,
                                                               Class<T> type)
        Specified by:
        getParameter in interface javax.persistence.Query
      • getParameter

        public javax.persistence.Parameter<?> getParameter​(int position)
        Specified by:
        getParameter in interface javax.persistence.Query
      • getParameter

        public <T> javax.persistence.Parameter<T> getParameter​(String name,
                                                               Class<T> type)
        Specified by:
        getParameter in interface javax.persistence.Query
      • getParameter

        public javax.persistence.Parameter<?> getParameter​(String name)
        Specified by:
        getParameter in interface javax.persistence.Query
      • getParameterValue

        public Object getParameterValue​(int position)
        Specified by:
        getParameterValue in interface javax.persistence.Query
      • getParameterValue

        public <T> T getParameterValue​(javax.persistence.Parameter<T> param)
        Specified by:
        getParameterValue in interface javax.persistence.Query
      • getParameterValue

        public Object getParameterValue​(String name)
        Specified by:
        getParameterValue in interface javax.persistence.Query
      • getParameters

        public Set<javax.persistence.Parameter<?>> getParameters()
        Specified by:
        getParameters in interface javax.persistence.Query
      • isBound

        public boolean isBound​(javax.persistence.Parameter<?> param)
        Specified by:
        isBound in interface javax.persistence.Query
      • unwrap

        public <T> T unwrap​(Class<T> cls)
        Specified by:
        unwrap in interface javax.persistence.Query
      • determineProperBooleanType

        @Deprecated
        public org.hibernate.type.Type determineProperBooleanType​(int position,
                                                                  Object value,
                                                                  org.hibernate.type.Type type)
        Deprecated.
        Specified by:
        determineProperBooleanType in interface org.hibernate.Query<R>
      • determineProperBooleanType

        @Deprecated
        public org.hibernate.type.Type determineProperBooleanType​(String name,
                                                                  Object value,
                                                                  org.hibernate.type.Type type)
        Deprecated.
        Specified by:
        determineProperBooleanType in interface org.hibernate.Query<R>
      • getHibernateFlushMode

        public org.hibernate.FlushMode getHibernateFlushMode()
        Specified by:
        getHibernateFlushMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        getHibernateFlushMode in interface org.hibernate.Query<R>
        Specified by:
        getHibernateFlushMode in interface org.hibernate.query.Query<R>
      • getParameterMetadata

        public org.hibernate.query.ParameterMetadata getParameterMetadata()
        Specified by:
        getParameterMetadata in interface org.hibernate.Query<R>
        Specified by:
        getParameterMetadata in interface org.hibernate.query.Query<R>
      • getProducer

        public org.hibernate.query.QueryProducer getProducer()
        Specified by:
        getProducer in interface org.hibernate.query.Query<R>
      • getQueryOptions

        @Deprecated
        public org.hibernate.engine.spi.RowSelection getQueryOptions()
        Deprecated.
        Specified by:
        getQueryOptions in interface org.hibernate.Query<R>
      • setFlushMode

        public org.hibernate.query.Query<R> setFlushMode​(javax.persistence.FlushModeType flushMode)
        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 javax.persistence.TypedQuery<R>
      • setHibernateFlushMode

        public org.hibernate.query.Query<R> setHibernateFlushMode​(org.hibernate.FlushMode flushMode)
        Specified by:
        setHibernateFlushMode in interface org.hibernate.BasicQueryContract<R>
        Specified by:
        setHibernateFlushMode in interface org.hibernate.Query<R>
        Specified by:
        setHibernateFlushMode in interface org.hibernate.query.Query<R>
      • setHint

        public org.hibernate.query.Query<R> setHint​(String name,
                                                    Object value)
        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>
      • setLockMode

        public org.hibernate.query.Query<R> setLockMode​(javax.persistence.LockModeType lockMode)
        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>
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(int position,
                                                         Calendar value,
                                                         javax.persistence.TemporalType type)
        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 javax.persistence.TypedQuery<R>
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(int position,
                                                         Date value,
                                                         javax.persistence.TemporalType type)
        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 javax.persistence.TypedQuery<R>
      • setParameter

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

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

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

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

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

        public org.hibernate.query.Query<R> setParameter​(javax.persistence.Parameter<Calendar> param,
                                                         Calendar value,
                                                         javax.persistence.TemporalType type)
        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 javax.persistence.TypedQuery<R>
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(javax.persistence.Parameter<Date> param,
                                                         Date value,
                                                         javax.persistence.TemporalType type)
        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 javax.persistence.TypedQuery<R>
      • setParameter

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

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

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

        public <T> org.hibernate.query.Query<R> setParameter​(javax.persistence.Parameter<T> param,
                                                             T value)
        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 javax.persistence.TypedQuery<R>
      • setParameter

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

        public <P> org.hibernate.query.Query<R> setParameter​(org.hibernate.query.QueryParameter<P> param,
                                                             P value,
                                                             javax.persistence.TemporalType type)
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
      • setParameter

        public <P> org.hibernate.query.Query<R> setParameter​(org.hibernate.query.QueryParameter<P> param,
                                                             P value,
                                                             org.hibernate.type.Type type)
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
      • setParameter

        public <T> org.hibernate.query.Query<R> setParameter​(org.hibernate.query.QueryParameter<T> param,
                                                             T value)
        Specified by:
        setParameter in interface org.hibernate.Query<R>
        Specified by:
        setParameter in interface org.hibernate.query.Query<R>
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(String name,
                                                         Calendar value,
                                                         javax.persistence.TemporalType type)
        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 javax.persistence.TypedQuery<R>
      • setParameter

        public org.hibernate.query.Query<R> setParameter​(String name,
                                                         Date value,
                                                         javax.persistence.TemporalType type)
        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 javax.persistence.TypedQuery<R>
      • setParameter

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

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

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

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

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

        public <P> org.hibernate.query.Query<R> setParameterList​(org.hibernate.query.QueryParameter<P> param,
                                                                 Collection<P> values)
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
        Specified by:
        setParameterList in interface org.hibernate.query.Query<R>
      • stream

        public Stream<R> stream()
        Specified by:
        stream in interface org.hibernate.query.Query<R>
      • uniqueResultOptional

        public Optional<R> uniqueResultOptional()
        Specified by:
        uniqueResultOptional in interface org.hibernate.query.Query<R>
      • setParameterList

        @Deprecated
        public org.hibernate.Query<R> setParameterList​(int param,
                                                       Collection values)
        Deprecated.
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
      • setParameterList

        @Deprecated
        public org.hibernate.Query<R> setParameterList​(int param,
                                                       Collection values,
                                                       org.hibernate.type.Type type)
        Deprecated.
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
      • setParameterList

        @Deprecated
        public org.hibernate.Query<R> setParameterList​(int param,
                                                       Object[] values,
                                                       org.hibernate.type.Type type)
        Deprecated.
        Specified by:
        setParameterList in interface org.hibernate.Query<R>
      • setParameterList

        @Deprecated
        public org.hibernate.Query<R> setParameterList​(int param,
                                                       Object[] values)
        Deprecated.
        Specified by:
        setParameterList in interface org.hibernate.Query<R>