|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HqlQuery
This is a query that is using HQL (Hibernate Query Language) as
the query language. All implementors of this interface must return
QueryType.HQL
from the Query.getQueryType()
method.
Method Summary | |
---|---|
boolean |
isCachingResult()
If the query results are cached or not. |
void |
setCacheResult(boolean flag)
Specify if the query results should be cached or not. |
Methods inherited from interface net.sf.basedb.core.query.Query |
---|
addAutoJoiner, count, getFirstResult, getMaxResults, getQuerySection, getQueryType, getRootAlias, group, groupPermanent, hasParameterValue, having, havingPermanent, isCounting, isDistinct, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount |
Method Detail |
---|
void setCacheResult(boolean flag)
flag
- TRUE if the query results should be cached, FALSE otherwise
UnsupportedOperationException
- If this operation isn't supported by
the implementationboolean isCachingResult()
setCacheResult(boolean)
|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |