Package org.hibernate.engine.spi
Interface Mapping
-
- All Known Subinterfaces:
InFlightMetadataCollector
,Metadata
,MetadataImplementor
,SessionFactoryImplementor
- All Known Implementing Classes:
AbstractDelegatingMetadata
,SessionFactoryDelegatingImpl
public interface Mapping
Defines operations common to "compiled" mappings (ie. SessionFactory) and "uncompiled" mappings (ie. Configuration) that are used by implementors of Type.- See Also:
Type
,SessionFactoryImpl
,Configuration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IdentifierGeneratorFactory
getIdentifierGeneratorFactory()
Deprecated.temporary solutionjava.lang.String
getIdentifierPropertyName(java.lang.String className)
Type
getIdentifierType(java.lang.String className)
Type
getReferencedPropertyType(java.lang.String className, java.lang.String propertyName)
-
-
-
Method Detail
-
getIdentifierGeneratorFactory
@Deprecated IdentifierGeneratorFactory getIdentifierGeneratorFactory()
Deprecated.temporary solutionAllow access to the id generator factory, though this is only needed/allowed from configuration.- Returns:
- Access to the identifier generator factory
-
getIdentifierType
Type getIdentifierType(java.lang.String className) throws MappingException
- Throws:
MappingException
-
getIdentifierPropertyName
java.lang.String getIdentifierPropertyName(java.lang.String className) throws MappingException
- Throws:
MappingException
-
getReferencedPropertyType
Type getReferencedPropertyType(java.lang.String className, java.lang.String propertyName) throws MappingException
- Throws:
MappingException
-
-