Interface NamedNativeQueryMemento<E>
- All Superinterfaces:
NamedQueryMemento<E>, TypedQueryReference<E>
Descriptor for a named native query in the runtime environment
-
Nested Class Summary
Nested classes/interfaces inherited from interface NamedQueryMemento
NamedQueryMemento.ParameterMemento -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThe affected query spaces.default Class<?> An implicit entity mapping by entity classAn explicit ResultSet mapping by nameInformational access to the SQL query stringMakes a copy of the memento using the specified registration nametoQuery(SharedSessionContractImplementor session) Convert the memento into an untyped executable query<T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session, Class<T> resultType) Convert the memento into a typed executable query<T> NativeQueryImplementor<T> toQuery(SharedSessionContractImplementor session, String resultSetMapping) Convert the memento into a typed executable queryMethods inherited from interface NamedQueryMemento
getCacheable, getCacheMode, getCacheRegion, getComment, getFetchSize, getFlushMode, getHints, getName, getReadOnly, getRegistrationName, getTimeout, validateMethods inherited from interface TypedQueryReference
getResultType
-
Method Details
-
getSqlString
String getSqlString()Informational access to the SQL query string -
getOriginalSqlString
-
getQuerySpaces
-
getResultMappingName
-
getResultMappingClass
An implicit entity mapping by entity class -
getFirstResult
Integer getFirstResult() -
getMaxResults
Integer getMaxResults() -
makeCopy
Description copied from interface:NamedQueryMementoMakes a copy of the memento using the specified registration name- Specified by:
makeCopyin interfaceNamedQueryMemento<E>
-