Package org.hibernate.boot.spi
Interface MetadataImplementor
-
- All Known Subinterfaces:
InFlightMetadataCollector
- All Known Implementing Classes:
AbstractDelegatingMetadata
,InFlightMetadataCollectorImpl
,MetadataImpl
public interface MetadataImplementor extends Metadata, Mapping
The SPI-level Metadata contract.- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NamedObjectRepository
buildNamedQueryRepository(SessionFactoryImplementor sessionFactory)
Set<MappedSuperclass>
getMappedSuperclassMappingsCopy()
MetadataBuildingOptions
getMetadataBuildingOptions()
Access to the options used to build this MetadataTypeConfiguration
getTypeConfiguration()
Access to the TypeConfigurationvoid
initSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)
void
validate()
void
visitRegisteredComponents(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 this Metadata- Returns:
- Access to the MetadataBuildingOptions
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
Access to the TypeConfiguration- Returns:
- Access to the TypeConfiguration
-
buildNamedQueryRepository
NamedObjectRepository buildNamedQueryRepository(SessionFactoryImplementor sessionFactory)
-
validate
void validate() throws MappingException
- Throws:
MappingException
-
getMappedSuperclassMappingsCopy
Set<MappedSuperclass> getMappedSuperclassMappingsCopy()
-
initSessionFactory
void initSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)
-
-