Interface CompositeIdentifierSource
- All Superinterfaces:
EmbeddableSourceContributor,IdentifierSource,ToolingHintContextContainer
- All Known Subinterfaces:
IdentifierSourceAggregatedComposite,IdentifierSourceNonAggregatedComposite
Common contract for composite identifiers. Specific sub-types include aggregated
(think
EmbeddedId) and non-aggregated (think
IdClass).- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptiongetIndividualAttributeIdGenerator(String identifierAttributeName) Handle silly SpecJ reading of the JPA spec.Methods inherited from interface org.hibernate.boot.model.source.spi.EmbeddableSourceContributor
getEmbeddableSourceMethods inherited from interface org.hibernate.boot.model.source.spi.IdentifierSource
getIdentifierGeneratorDescriptor, getNatureMethods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Method Details
-
getIndividualAttributeIdGenerator
Handle silly SpecJ reading of the JPA spec. They believe composite identifiers should have "partial generation" capabilities.- Parameters:
identifierAttributeName- The name of the individual attribute within the composite identifier.- Returns:
- The generator for the named attribute (within the composite).
-