接口 CompositeIdentifierSource
-
public interface CompositeIdentifierSource extends IdentifierSource, EmbeddableSourceContributor
Common contract for composite identifiers. Specific sub-types include aggregated (thinkEmbeddedId) and non-aggregated (thinkIdClass).- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 IdentifierGeneratorDefinitiongetIndividualAttributeIdGenerator(String identifierAttributeName)Handle silly SpecJ reading of the JPA spec.-
从接口继承的方法 org.hibernate.boot.model.source.spi.EmbeddableSourceContributor
getEmbeddableSource
-
从接口继承的方法 org.hibernate.boot.model.source.spi.IdentifierSource
getIdentifierGeneratorDescriptor, getNature
-
从接口继承的方法 org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
-
-
-
方法详细资料
-
getIndividualAttributeIdGenerator
IdentifierGeneratorDefinition getIndividualAttributeIdGenerator(String identifierAttributeName)
Handle silly SpecJ reading of the JPA spec. They believe composite identifiers should have "partial generation" capabilities.- 参数:
identifierAttributeName- The name of the individual attribute within the composite identifier.- 返回:
- The generator for the named attribute (within the composite).
-
-