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, validate
Methods 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:NamedQueryMemento
Makes a copy of the memento using the specified registration name- Specified by:
makeCopy
in interfaceNamedQueryMemento<E>