Package org.hibernate.boot.spi
Interface MetadataImplementor
- All Known Subinterfaces:
InFlightMetadataCollector
- All Known Implementing Classes:
AbstractDelegatingMetadata,InFlightMetadataCollectorImpl,MetadataImpl
The SPI-level
Metadata contract.- Since:
- 5.0
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionbuildNamedQueryRepository(SessionFactoryImplementor sessionFactory) Access to theSqmFunctionRegistrybelonging to theBootstrapContextgetGenericComponent(Class<?> componentClass) Access to the options used to build thisMetadataAccess to theTypeConfigurationbelonging to theBootstrapContextvoidinitSessionFactory(SessionFactoryImplementor sessionFactoryImplementor) voidorderColumns(boolean forceOrdering) resolveEmbeddableDiscriminatorType(Class<?> embeddableClass, Supplier<DiscriminatorType<?>> supplier) voidvalidate()voidvisitRegisteredComponents(Consumer<Component> consumer) Methods inherited from interface org.hibernate.engine.spi.Mapping
getIdentifierPropertyName, getIdentifierType, getReferencedPropertyTypeMethods 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 Details
-
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
-
orderColumns
-
validate
- Throws:
MappingException
-
getMappedSuperclassMappingsCopy
Set<MappedSuperclass> getMappedSuperclassMappingsCopy() -
initSessionFactory
-
visitRegisteredComponents
-
getGenericComponent
-
resolveEmbeddableDiscriminatorType
DiscriminatorType<?> resolveEmbeddableDiscriminatorType(Class<?> embeddableClass, Supplier<DiscriminatorType<?>> supplier)
-