Package org.hibernate.query.sql.spi
Interface NamedNativeQueryMemento<E>
- All Superinterfaces:
NamedQueryMemento<E>,TypedQueryReference<E>
- All Known Implementing Classes:
NamedNativeQueryMementoImpl
Descriptor for a named native query in the runtime environment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.query.named.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 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
-
getSqlString
String getSqlString()Informational access to the SQL query string -
getOriginalSqlString
-
getQuerySpaces
The affected query spaces. -
getResultMappingName
String getResultMappingName()An explicit ResultSet mapping by name- See Also:
-
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>
-