Package org.hibernate.sql.ast.spi
Interface SqlAstCreationContext
- All Known Subinterfaces:
SessionFactoryImplementor
- All Known Implementing Classes:
SessionFactoryDelegatingImpl,SessionFactoryImpl
public interface SqlAstCreationContext
The "context" in which creation of SQL AST occurs. Provides
access to generally needed when creating SQL AST nodes
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionThe runtime MappingMetamodelImplementorWhen creatingFetchreferences, defines a limit to how deep we should join for fetches.Access to ServicesThe SessionFactory
-
Method Details
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()The SessionFactory -
getMappingMetamodel
MappingMetamodelImplementor getMappingMetamodel()The runtime MappingMetamodelImplementor -
getServiceRegistry
ServiceRegistry getServiceRegistry()Access to Services -
getMaximumFetchDepth
Integer getMaximumFetchDepth()When creatingFetchreferences, defines a limit to how deep we should join for fetches.
-