Class MiddleTableCollectionMetadataGenerator
java.lang.Object
org.hibernate.envers.configuration.internal.metadata.AbstractMetadataGenerator
org.hibernate.envers.configuration.internal.metadata.AbstractCollectionMetadataGenerator
org.hibernate.envers.configuration.internal.metadata.MiddleTableCollectionMetadataGenerator
An implementation of
AbstractCollectionMetadataGenerator that builds collection metadata
and association mappings where the association uses a middle table mapping.-
Constructor Summary
ConstructorsConstructorDescriptionMiddleTableCollectionMetadataGenerator(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
-
MiddleTableCollectionMetadataGenerator
public MiddleTableCollectionMetadataGenerator(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
-