接口 MetadataImplementor
-
- 所有已知子接口:
InFlightMetadataCollector
public interface MetadataImplementor extends Metadata, Mapping
The SPI-level Metadata contract.- 从以下版本开始:
- 5.0
- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 NamedQueryRepositorybuildNamedQueryRepository(SessionFactoryImpl sessionFactory)Set<MappedSuperclass>getMappedSuperclassMappingsCopy()MetadataBuildingOptionsgetMetadataBuildingOptions()Access to the options used to build this MetadataTypeConfigurationgetTypeConfiguration()Access to the TypeConfigurationTypeResolvergetTypeResolver()已过时。(since 5.3) No replacement, access to and handling of Types will be much different in 6.0voidinitSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)voidvalidate()-
从接口继承的方法 org.hibernate.engine.spi.Mapping
getIdentifierGeneratorFactory, getIdentifierPropertyName, getIdentifierType, getReferencedPropertyType
-
从接口继承的方法 org.hibernate.boot.Metadata
buildSessionFactory, collectTableMappings, getCollectionBinding, getCollectionBindings, getDatabase, getEntityBinding, getEntityBindings, getFetchProfile, getFetchProfiles, getFilterDefinition, getFilterDefinitions, getIdentifierGenerator, getImports, getNamedEntityGraph, getNamedEntityGraphs, getNamedNativeQueryDefinition, getNamedNativeQueryDefinitions, getNamedProcedureCallDefinitions, getNamedQueryDefinition, getNamedQueryDefinitions, getResultSetMapping, getResultSetMappingDefinitions, getSessionFactoryBuilder, getSqlFunctionMap, getTypeDefinition, getUUID
-
-
-
-
方法详细资料
-
getMetadataBuildingOptions
MetadataBuildingOptions getMetadataBuildingOptions()
Access to the options used to build this Metadata- 返回:
- Access to the MetadataBuildingOptions
-
getTypeConfiguration
TypeConfiguration getTypeConfiguration()
Access to the TypeConfiguration- 返回:
- Access to the TypeConfiguration
-
getTypeResolver
@Deprecated TypeResolver getTypeResolver()
已过时。(since 5.3) No replacement, access to and handling of Types will be much different in 6.0Retrieve theTyperesolver associated with this factory.- 返回:
- The type resolver
-
buildNamedQueryRepository
NamedQueryRepository buildNamedQueryRepository(SessionFactoryImpl sessionFactory)
-
validate
void validate() throws MappingException- 抛出:
MappingException
-
getMappedSuperclassMappingsCopy
Set<MappedSuperclass> getMappedSuperclassMappingsCopy()
-
initSessionFactory
void initSessionFactory(SessionFactoryImplementor sessionFactoryImplementor)
-
-