|
3.1.1: 2012-03-29 | ||||||||
| 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. |
void |
setEntityParameter(String name,
BasicItem value)
Set the value of an entity parameter. |
void |
setPermanentEntityParameter(String name,
BasicItem value)
Permanently set the value of an entity parameter. |
| Methods inherited from interface net.sf.basedb.core.query.Query |
|---|
addAutoJoiner, count, getFirstResult, getMaxResults, getParameterNames, getQueryParameter, getQuerySection, getQueryType, getRootAlias, group, groupPermanent, hasParameterValue, having, havingPermanent, isCounting, isDistinct, isFailSafe, isReadonly, isReturningTotalCount, join, joinPermanent, order, orderPermanent, reset, restrict, restrictPermanent, select, selectPermanent, setDistinct, setFailSafe, setFirstResult, setMaxResults, setParameter, setPermanentParameter, setReturnTotalCount, toQl |
| 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)
void setEntityParameter(String name,
BasicItem value)
InvalidDataException is thrown.
name - The name of the parametervalue - The value of the parameter
UnsupportedOperationException - If this operation isn't supported by
the implementation
InvalidDataException - If the value of the parameter has already
been permanently set
void setPermanentEntityParameter(String name,
BasicItem value)
InvalidDataException is thrown.
name - The name of the parametervalue - The value of the parameter
UnsupportedOperationException - If this operation isn't supported by
the implementation
InvalidDataException - If the value of the parameter has already
been permanently set
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||