|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.impl.AbstractQueryImpl org.hibernate.impl.QueryImpl
default implementation of the Query interface, for "ordinary" HQL queries (not collection filters)
CollectionFilterImpl
Field Summary |
Fields inherited from class org.hibernate.impl.AbstractQueryImpl |
parameterMetadata, session |
Constructor Summary | |
QueryImpl(String queryString,
FlushMode flushMode,
SessionImplementor session,
ParameterMetadata parameterMetadata)
|
|
QueryImpl(String queryString,
SessionImplementor session,
ParameterMetadata parameterMetadata)
|
Method Summary | |
int |
executeUpdate()
Execute the update or delete statement. |
protected Map |
getLockModes()
|
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. |
ScrollableResults |
scroll(ScrollMode scrollMode)
Return the query results as ScrollableResults. |
Query |
setLockMode(String alias,
LockMode lockMode)
Set the lockmode for the objects idententified by the given alias that appears in the FROM clause. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QueryImpl(String queryString, FlushMode flushMode, SessionImplementor session, ParameterMetadata parameterMetadata)
public QueryImpl(String queryString, SessionImplementor session, ParameterMetadata parameterMetadata)
Method Detail |
public Iterator iterate() throws HibernateException
Query
HibernateException
public ScrollableResults scroll() throws HibernateException
Query
HibernateException
ScrollableResults
public ScrollableResults scroll(ScrollMode scrollMode) throws HibernateException
Query
HibernateException
ScrollableResults
,
ScrollMode
public List list() throws HibernateException
Query
HibernateException
public int executeUpdate() throws HibernateException
Query
HibernateException
public Query setLockMode(String alias, LockMode lockMode)
Query
alias
- a query alias, or this for a collection filterprotected Map getLockModes()
getLockModes
in class AbstractQueryImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |