Package org.hibernate.query.sqm.spi
Interface NamedSqmQueryMemento
- All Superinterfaces:
NamedQueryMemento
- All Known Implementing Classes:
NamedCriteriaQueryMementoImpl,NamedHqlQueryMementoImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.query.named.NamedQueryMemento
NamedQueryMemento.ParameterMemento -
Method Summary
Modifier and TypeMethodDescriptionSqmStatement<?>Makes a copy of the memento using the specified registration name<T> SqmQueryImplementor<T>toQuery(SharedSessionContractImplementor session) Convert the memento into an untyped executable query<T> SqmQueryImplementor<T>toQuery(SharedSessionContractImplementor session, Class<T> resultType) <T> SqmSelectionQuery<T>toSelectionQuery(Class<T> resultType, SharedSessionContractImplementor session) Methods inherited from interface org.hibernate.query.named.NamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getReadOnly, getRegistrationName, getTimeout, validate
-
Method Details
-
getHqlString
String getHqlString() -
getSqmStatement
SqmStatement<?> getSqmStatement() -
getFirstResult
Integer getFirstResult() -
getMaxResults
Integer getMaxResults() -
getLockOptions
LockOptions getLockOptions() -
getParameterTypes
-
makeCopy
Description copied from interface:NamedQueryMementoMakes a copy of the memento using the specified registration name- Specified by:
makeCopyin interfaceNamedQueryMemento