Package org.hibernate.query.sqm.spi
Interface NamedSqmQueryMemento<E>
- All Superinterfaces:
NamedQueryMemento<E>,TypedQueryReference<E>
- 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 TypeMethodDescriptionMakes a copy of the memento using the specified registration nametoQuery(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, getName, getReadOnly, getRegistrationName, getTimeout, validateMethods inherited from interface jakarta.persistence.TypedQueryReference
getResultType
-
Method Details
-
getHqlString
String getHqlString() -
getSqmStatement
SqmStatement<E> 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<E>