Interface CompositeIdentifierSource
-
- All Superinterfaces:
EmbeddableSourceContributor
,IdentifierSource
,ToolingHintContextContainer
- All Known Subinterfaces:
IdentifierSourceAggregatedComposite
,IdentifierSourceNonAggregatedComposite
public interface CompositeIdentifierSource extends IdentifierSource, EmbeddableSourceContributor
Common contract for composite identifiers. Specific sub-types include aggregated (thinkEmbeddedId
) and non-aggregated (thinkIdClass
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentifierGeneratorDefinition
getIndividualAttributeIdGenerator(String identifierAttributeName)
Handle silly SpecJ reading of the JPA spec.-
Methods inherited from interface org.hibernate.boot.model.source.spi.EmbeddableSourceContributor
getEmbeddableSource
-
Methods inherited from interface org.hibernate.boot.model.source.spi.IdentifierSource
getIdentifierGeneratorDescriptor, getNature
-
Methods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
-
-
-
Method Detail
-
getIndividualAttributeIdGenerator
IdentifierGeneratorDefinition getIndividualAttributeIdGenerator(String identifierAttributeName)
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).
-
-