Class JoinColumnCollectionMetadataGenerator
java.lang.Object
org.hibernate.envers.configuration.internal.metadata.AbstractMetadataGenerator
org.hibernate.envers.configuration.internal.metadata.AbstractCollectionMetadataGenerator
org.hibernate.envers.configuration.internal.metadata.JoinColumnCollectionMetadataGenerator
An implementation of
AbstractCollectionMetadataGenerator that builds collection metadata
and association mappings where the association uses a join column mapping.-
Constructor Summary
ConstructorsConstructorDescriptionJoinColumnCollectionMetadataGenerator(EnversMetadataBuildingContext metadataBuildingContext, BasicMetadataGenerator basicMetadataGenerator, ValueMetadataGenerator valueMetadataGenerator) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCollection(CollectionMetadataContext context) Entry point for all collection-based metadata generators where the collection will be inspected and the appropriate boot and runtime mappings are generated.Methods inherited from class AbstractCollectionMetadataGenerator
addAttributesToEntity, addIndex, addMapper, addValueToMiddleTable, createCommonCollectionMapperData, createMiddleIdData, getOrderBy, getOrderByCollectionRole, getPrefixedIdAttributes, isEmbeddableElementType, isLobMapElementTypeMethods inherited from class AbstractMetadataGenerator
addAuditedEntityConfiguration, addAuditStrategyAdditionalColumnsToEntity, addAuditStrategyRevisionEndTimestampOnly, addNotAuditedEntityConfiguration, addRevisionInfoRelationToIdentifier, addRevisionTypeToAttributeContainer, getAuditedEntityConfiguration, getAuditedEntityConfigurations, getCatalogName, getMetadataBuildingContext, getNotAuditedEntityConfiguration, getNotAuditedEntityConfigurations, getReferencedIdMappingData, getSchemaName, hasAuditedEntityConfiguration, hasNotAuditedEntityConfiguration, throwUnsupportedTypeException
-
Constructor Details
-
JoinColumnCollectionMetadataGenerator
public JoinColumnCollectionMetadataGenerator(EnversMetadataBuildingContext metadataBuildingContext, BasicMetadataGenerator basicMetadataGenerator, ValueMetadataGenerator valueMetadataGenerator)
-
-
Method Details
-
addCollection
Description copied from class:AbstractCollectionMetadataGeneratorEntry point for all collection-based metadata generators where the collection will be inspected and the appropriate boot and runtime mappings are generated.- Specified by:
addCollectionin classAbstractCollectionMetadataGenerator- Parameters:
context- the per-collection metadata context
-