Package org.hibernate.sql.ast.spi
Interface SqlAstCreationContext
-
- All Known Subinterfaces:
SessionFactoryImplementor
- All Known Implementing Classes:
MockSessionFactory,ProcessorSessionFactory,SessionFactoryDelegatingImpl,SessionFactoryImpl
public interface SqlAstCreationContextThe "context" in which creation of SQL AST occurs. Provides access to generally needed when creating SQL AST nodes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MappingMetamodelImplementorgetMappingMetamodel()The runtime MappingMetamodelImplementorIntegergetMaximumFetchDepth()When creatingFetchreferences, defines a limit to how deep we should join for fetches.ServiceRegistrygetServiceRegistry()Access to ServicesSessionFactoryImplementorgetSessionFactory()The SessionFactory
-
-
-
Method Detail
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
The SessionFactory
-
getMappingMetamodel
MappingMetamodelImplementor getMappingMetamodel()
The runtime MappingMetamodelImplementor
-
getServiceRegistry
ServiceRegistry getServiceRegistry()
Access to Services
-
-