Top Methods
org.hibernate.query.sqm.spi

public Interface NamedSqmQueryMemento

extends NamedQueryMemento
Known Direct Implementers
org.hibernate.query.criteria.internal.NamedCriteriaQueryMementoImpl, org.hibernate.query.hql.internal.NamedHqlQueryMementoImpl
Imports
java.util.Map, org.hibernate.LockOptions, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.query.hql.spi.SqmQueryImplementor, org.hibernate.query.named.NamedQueryMemento, org.hibernate.query.sqm.SqmSelectionQuery, org.hibernate.query.sqm.tree.SqmStatement

Method Summary

Modifier and TypeMethod and Description
public Integer
public String
public LockOptions
public Integer
public Map<String, String>
public SqmStatement<?>
public NamedSqmQueryMemento
makeCopy(String name)

Redeclares org.hibernate.query.named.NamedQueryMemento.makeCopy.

Makes a copy of the memento using the specified registration name
public <T> SqmQueryImplementor<T>
public <T> SqmQueryImplementor<T>
toQuery(SharedSessionContractImplementor session)

Redeclares org.hibernate.query.named.NamedQueryMemento.toQuery.

Convert the memento into an untyped executable query
public <T> SqmSelectionQuery<T>
Inherited from org.hibernate.query.named.NamedQueryMemento:
getCacheablegetCacheModegetCacheRegiongetCommentgetFetchSizegetFlushModegetHintsgetReadOnlygetRegistrationNamegetTimeoutvalidate

Method Detail

getFirstResultback to summary
public Integer getFirstResult()
getHqlStringback to summary
public String getHqlString()
getLockOptionsback to summary
public LockOptions getLockOptions()
getMaxResultsback to summary
public Integer getMaxResults()
getParameterTypesback to summary
public Map<String, String> getParameterTypes()
getSqmStatementback to summary
public SqmStatement<?> getSqmStatement()
makeCopyback to summary
public NamedSqmQueryMemento makeCopy(String name)

Redeclares org.hibernate.query.named.NamedQueryMemento.makeCopy.

Doc from org.hibernate.query.named.NamedQueryMemento.makeCopy.

Makes a copy of the memento using the specified registration name

Annotations
@Override
toQueryback to summary
public <T> SqmQueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> resultType)

Redeclares org.hibernate.query.named.NamedQueryMemento.toQuery.

toQueryback to summary
public <T> SqmQueryImplementor<T> toQuery(SharedSessionContractImplementor session)

Redeclares org.hibernate.query.named.NamedQueryMemento.toQuery.

Convert the memento into an untyped executable query

toSelectionQueryback to summary
public <T> SqmSelectionQuery<T> toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session)