Interface NamedQueryDefinition<T>
- All Superinterfaces:
JpaReference
- All Known Subinterfaces:
NamedHqlQueryDefinition<E>, NamedMutationDefinition<T>, NamedNativeQueryDefinition<E>, NamedProcedureCallDefinition, NamedSelectionDefinition<R>, NamedSelectionQueryDefinition<T>
Boot-model representation of named queries.
Ultimately this is used to make a named query memento.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetHints()@Nullable StringThe location at which the defining named query annotation occurs, usually a class or package name.default StringgetName()The name under which the query is to be registered.resolve(SessionFactoryImplementor factory) Resolve the mapping definition into its run-time memento form.
-
Method Details
-
getRegistrationName
String getRegistrationName()The name under which the query is to be registered. -
getName
- Specified by:
getNamein interfaceJpaReference
-
getQueryFlushMode
FlushMode getQueryFlushMode() -
getTimeout
Timeout getTimeout()- Specified by:
getTimeoutin interfaceJpaReference
-
getComment
String getComment() -
getHints
- Specified by:
getHintsin interfaceJpaReference
-
getLocation
@Nullable String getLocation()The location at which the defining named query annotation occurs, usually a class or package name. Null for named queries declared in XML. -
resolve
Resolve the mapping definition into its run-time memento form.
-