Package org.hibernate.boot.spi
Interface MetadataImplementor
-
- All Known Subinterfaces:
InFlightMetadataCollector
- All Known Implementing Classes:
AbstractDelegatingMetadata,InFlightMetadataCollectorImpl,MetadataImpl
public interface MetadataImplementor extends Metadata
The SPI-levelMetadatacontract.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamedObjectRepositorybuildNamedQueryRepository(SessionFactoryImplementor sessionFactory)SqmFunctionRegistrygetFunctionRegistry()Access to theSqmFunctionRegistrybelonging to theBootstrapContextComponentgetGenericComponent(Class<?> componentClass)Set<MappedSuperclass>getMappedSuperclassMappingsCopy()MetadataBuildingOptionsgetMetadataBuildingOptions()Access to the options used to build thisMetadataTypeConfigurationgetTypeConfiguration()Access to theTypeConfigurationbelonging to theBootstrapContextvoidinitSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)voidorderColumns(boolean forceOrdering)voidvalidate()voidvisitRegisteredComponents(Consumer<Component> consumer)-
Methods inherited from interface org.hibernate.engine.spi.Mapping
getIdentifierPropertyName, getIdentifierType, getReferencedPropertyType
-
Methods inherited from interface org.hibernate.boot.Metadata
buildSessionFactory, collectTableMappings, getCollectionBinding, getCollectionBindings, getContributors, getDatabase, getEntityBinding, getEntityBindings, getFetchProfile, getFetchProfiles, getFilterDefinition, getFilterDefinitions, getIdentifierGenerator, getImports, getNamedEntityGraph, getNamedEntityGraphs, getNamedHqlQueryMapping, getNamedNativeQueryMapping, getNamedProcedureCallMapping, getResultSetMapping, getSessionFactoryBuilder, getSqlFunctionMap, getTypeDefinition, getUUID, visitNamedHqlQueryDefinitions, visitNamedNativeQueryDefinitions, visitNamedProcedureCallDefinition, visitNamedResultSetMappingDefinition
-
-
-
-
Method Detail
-
getMetadataBuildingOptions
MetadataBuildingOptions getMetadataBuildingOptions()
Access to the options used to build thisMetadata- Returns:
- The
MetadataBuildingOptions
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
Access to theTypeConfigurationbelonging to theBootstrapContext
-
getFunctionRegistry
SqmFunctionRegistry getFunctionRegistry()
Access to theSqmFunctionRegistrybelonging to theBootstrapContext
-
buildNamedQueryRepository
NamedObjectRepository buildNamedQueryRepository(SessionFactoryImplementor sessionFactory)
-
orderColumns
@Incubating void orderColumns(boolean forceOrdering)
-
validate
void validate() throws MappingException- Throws:
MappingException
-
getMappedSuperclassMappingsCopy
Set<MappedSuperclass> getMappedSuperclassMappingsCopy()
-
initSessionFactory
void initSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)
-
-