Package org.hibernate.boot.query
Interface NamedQueryDefinition
- All Known Subinterfaces:
NamedCallableQueryDefinition,NamedHqlQueryDefinition,NamedNativeQueryDefinition,NamedProcedureCallDefinition
- All Known Implementing Classes:
AbstractNamedQueryDefinition,NamedHqlQueryDefinitionImpl,NamedNativeQueryDefinitionImpl,NamedProcedureCallDefinitionImpl
public interface NamedQueryDefinition
Common attributes shared across the mapping of named HQL, native
and "callable" queries defined in annotations, orm.xml and hbm.xml
- Author:
- Steve Ebersole, Gavin King
-
Method Summary
Modifier and TypeMethodDescriptionThe name under which the query is to be registeredresolve(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 -
resolve
Resolve the mapping definition into its run-time memento form
-