|
||||||||||
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
public class 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(java.lang.String queryString,
org.hibernate.FlushMode flushMode,
org.hibernate.engine.SessionImplementor session,
org.hibernate.engine.query.ParameterMetadata parameterMetadata)
|
|
QueryImpl(java.lang.String queryString,
org.hibernate.engine.SessionImplementor session,
org.hibernate.engine.query.ParameterMetadata parameterMetadata)
|
Method Summary | |
---|---|
int |
count()
TODO documentation |
int |
executeUpdate()
Execute the update or delete statement. |
protected java.util.Map |
getLockModes()
|
java.util.Iterator |
iterate()
Return the query results as an Iterator. |
java.util.List |
list()
Return the query results as a List. |
org.hibernate.ScrollableResults |
scroll()
Return the query results as ScrollableResults. |
org.hibernate.ScrollableResults |
scroll(org.hibernate.ScrollMode scrollMode)
Return the query results as ScrollableResults. |
Query |
setLockMode(java.lang.String alias,
org.hibernate.LockMode lockMode)
Set the lockmode for the objects idententified by the given alias that appears in the FROM clause. |
Methods inherited from class org.hibernate.impl.AbstractQueryImpl |
---|
after, before, determineType, determineType, determineType, determineType, determineType, expandParameterLists, getNamedParameterLists, getNamedParameters, getNamedParams, getQueryParameters, getQueryString, getReturnAliases, getReturnTypes, getRowSelection, getSelection, getTypes, getValues, hasNamedParameters, isReadOnly, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBinary, setBinary, setBoolean, setBoolean, setByte, setByte, setCacheable, setCacheMode, setCacheRegion, setCalendar, setCalendar, setCalendarDate, setCalendarDate, setCharacter, setCharacter, setCollectionKey, setComment, setDate, setDate, setDouble, setDouble, setEntity, setEntity, setFetchSize, setFirstResult, setFloat, setFloat, setFlushMode, setInteger, setInteger, setLocale, setLocale, setLong, setLong, setMaxResults, setOptionalEntityName, setOptionalId, setOptionalObject, setParameter, setParameter, setParameter, setParameter, setParameterList, setParameterList, setParameterList, setParameterList, setParameters, setProperties, setProperties, setReadOnly, setResultTransformer, setSerializable, setSerializable, setShort, setShort, setString, setString, setText, setText, setTime, setTime, setTimeout, setTimestamp, setTimestamp, toString, typeArray, uniqueResult, valueArray, verifyParameters, verifyParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryImpl(java.lang.String queryString, org.hibernate.FlushMode flushMode, org.hibernate.engine.SessionImplementor session, org.hibernate.engine.query.ParameterMetadata parameterMetadata)
public QueryImpl(java.lang.String queryString, org.hibernate.engine.SessionImplementor session, org.hibernate.engine.query.ParameterMetadata parameterMetadata)
Method Detail |
---|
public java.util.Iterator iterate() throws org.hibernate.HibernateException
Query
HibernateException
public org.hibernate.ScrollableResults scroll() throws org.hibernate.HibernateException
Query
HibernateException
ScrollableResults
public org.hibernate.ScrollableResults scroll(org.hibernate.ScrollMode scrollMode) throws org.hibernate.HibernateException
Query
HibernateException
ScrollableResults
,
ScrollMode
public java.util.List list() throws org.hibernate.HibernateException
Query
HibernateException
public int executeUpdate() throws org.hibernate.HibernateException
Query
HibernateException
public Query setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
Query
alias
- a query alias, or this for a collection filterprotected java.util.Map getLockModes()
getLockModes
in class org.hibernate.impl.AbstractQueryImpl
public int count()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |