org.hibernate.ejb
Class QueryImpl
java.lang.Object
   org.hibernate.ejb.QueryImpl
org.hibernate.ejb.QueryImpl
- All Implemented Interfaces: 
- javax.persistence.Query, HibernateQuery
- public class QueryImpl 
- extends Object- implements javax.persistence.Query, HibernateQuery
- Version:
- $Revision: 1.14 $
- Author:
- Gavin King
| Constructor Summary | 
| QueryImpl(org.hibernate.Query query)
 | 
 
| Method Summary | 
|  int | executeUpdate()
 | 
|  org.hibernate.Query | getHibernateQuery()
 | 
|  List | getResultList()
 | 
|  Object | getSingleResult()
 | 
|  javax.persistence.Query | setFirstResult(int firstResult)
 | 
|  javax.persistence.Query | setFlushMode(javax.persistence.FlushModeType flushMode)
 | 
|  javax.persistence.Query | setHint(String hintName,
        Object value)
 | 
|  javax.persistence.Query | setMaxResults(int maxResult)
 | 
|  javax.persistence.Query | setParameter(int position,
             Calendar value,
             javax.persistence.TemporalType temporalType)
 | 
|  javax.persistence.Query | setParameter(int position,
             Date value,
             javax.persistence.TemporalType temporalType)
 | 
|  javax.persistence.Query | setParameter(int position,
             Object value)
 | 
|  javax.persistence.Query | setParameter(String name,
             Calendar value,
             javax.persistence.TemporalType temporalType)
 | 
|  javax.persistence.Query | setParameter(String name,
             Date value,
             javax.persistence.TemporalType temporalType)
 | 
|  javax.persistence.Query | setParameter(String name,
             Object value)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
QueryImpl
public QueryImpl(org.hibernate.Query query)
getHibernateQuery
public org.hibernate.Query getHibernateQuery()
- 
- Specified by:
- getHibernateQueryin interface- HibernateQuery
 
- 
 
executeUpdate
public int executeUpdate()
- 
- Specified by:
- executeUpdatein interface- javax.persistence.Query
 
- 
 
getResultList
public List getResultList()
- 
- Specified by:
- getResultListin interface- javax.persistence.Query
 
- 
 
getSingleResult
public Object getSingleResult()
- 
- Specified by:
- getSingleResultin interface- javax.persistence.Query
 
- 
 
setMaxResults
public javax.persistence.Query setMaxResults(int maxResult)
- 
- Specified by:
- setMaxResultsin interface- javax.persistence.Query
 
- 
 
setFirstResult
public javax.persistence.Query setFirstResult(int firstResult)
- 
- Specified by:
- setFirstResultin interface- javax.persistence.Query
 
- 
 
setHint
public javax.persistence.Query setHint(String hintName,
                                       Object value)
- 
- Specified by:
- setHintin interface- javax.persistence.Query
 
- 
 
setParameter
public javax.persistence.Query setParameter(String name,
                                            Object value)
- 
- Specified by:
- setParameterin interface- javax.persistence.Query
 
- 
 
setParameter
public javax.persistence.Query setParameter(String name,
                                            Date value,
                                            javax.persistence.TemporalType temporalType)
- 
- Specified by:
- setParameterin interface- javax.persistence.Query
 
- 
 
setParameter
public javax.persistence.Query setParameter(String name,
                                            Calendar value,
                                            javax.persistence.TemporalType temporalType)
- 
- Specified by:
- setParameterin interface- javax.persistence.Query
 
- 
 
setParameter
public javax.persistence.Query setParameter(int position,
                                            Object value)
- 
- Specified by:
- setParameterin interface- javax.persistence.Query
 
- 
 
setParameter
public javax.persistence.Query setParameter(int position,
                                            Date value,
                                            javax.persistence.TemporalType temporalType)
- 
- Specified by:
- setParameterin interface- javax.persistence.Query
 
- 
 
setParameter
public javax.persistence.Query setParameter(int position,
                                            Calendar value,
                                            javax.persistence.TemporalType temporalType)
- 
- Specified by:
- setParameterin interface- javax.persistence.Query
 
- 
 
setFlushMode
public javax.persistence.Query setFlushMode(javax.persistence.FlushModeType flushMode)
- 
- Specified by:
- setFlushModein interface- javax.persistence.Query
 
-