|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.hibernate.impl.AbstractQueryImpl
net.sf.hibernate.impl.QueryImpl
default implementation of the Query interface, for "ordinary" HQL queries (not collection filters)
FilterImpl
Constructor Summary | |
QueryImpl(String queryString,
SessionImplementor session)
|
Method Summary | |
QueryParameters |
getQueryParameters(Map namedParams)
|
Iterator |
iterate()
Return the query results as an Iterator. |
List |
list()
Return the query results as a List. |
ScrollableResults |
scroll()
Return the query results as ScrollableResults. |
Query |
setCacheable(boolean cacheable)
Enable caching of this query result set. |
Query |
setCacheRegion(String cacheRegion)
Set the name of the cache region. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QueryImpl(String queryString, SessionImplementor session)
Method Detail |
public Iterator iterate() throws HibernateException
Query
HibernateException
public ScrollableResults scroll() throws HibernateException
Query
HibernateException
ScrollableResults
public List list() throws HibernateException
Query
HibernateException
public Query setCacheable(boolean cacheable)
Query
public Query setCacheRegion(String cacheRegion)
Query
cacheRegion
- the name of a query cache region, or null
for the default query cachepublic QueryParameters getQueryParameters(Map namedParams)
getQueryParameters
in class AbstractQueryImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |