接口 Mapping
-
- 所有已知实现类:
AbstractDelegatingMetadata,InFlightMetadataCollectorImpl,MetadataImpl,SessionFactoryDelegatingImpl,SessionFactoryImpl
public interface MappingDefines operations common to "compiled" mappings (ie. SessionFactory) and "uncompiled" mappings (ie. Configuration) that are used by implementors of Type.- 作者:
- Gavin King
- 另请参阅:
Type,SessionFactoryImpl,Configuration
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 IdentifierGeneratorFactorygetIdentifierGeneratorFactory()已过时。temporary solutionStringgetIdentifierPropertyName(String className)TypegetIdentifierType(String className)TypegetReferencedPropertyType(String className, String propertyName)
-
-
-
方法详细资料
-
getIdentifierGeneratorFactory
@Deprecated IdentifierGeneratorFactory getIdentifierGeneratorFactory()
已过时。temporary solutionAllow access to the id generator factory, though this is only needed/allowed from configuration.- 返回:
- Access to the identifier generator factory
-
getIdentifierType
Type getIdentifierType(String className) throws MappingException
- 抛出:
MappingException
-
getIdentifierPropertyName
String getIdentifierPropertyName(String className) throws MappingException
- 抛出:
MappingException
-
getReferencedPropertyType
Type getReferencedPropertyType(String className, String propertyName) throws MappingException
- 抛出:
MappingException
-
-