Package org.hibernate.boot.query
Interface NamedQueryDefinition
- All Known Subinterfaces:
NamedCallableQueryDefinition,NamedHqlQueryDefinition,NamedNativeQueryDefinition,NamedProcedureCallDefinition
- All Known Implementing Classes:
AbstractNamedQueryDefinition,NamedHqlQueryDefinitionImpl,NamedNativeQueryDefinitionImpl,NamedProcedureCallDefinitionImpl
public interfaceNamedQueryDefinitionCommon attributes shared across the mapping of named HQL, native and "callable" queries defined in annotations, orm.xml and hbm.xml
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRegistrationName()The name under which the query is to be registeredNamedQueryMementoresolve(SessionFactoryImplementor factory)Resolve the mapping definition into its run-time memento form
Method Detail
getRegistrationName
String getRegistrationName()
The name under which the query is to be registered
resolve
NamedQueryMemento resolve(SessionFactoryImplementor factory)
Resolve the mapping definition into its run-time memento form