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
ConstructorDescriptionMiddleTableCollectionMetadataGenerator
(EnversMetadataBuildingContext metadataBuildingContext, BasicMetadataGenerator basicMetadataGenerator, ValueMetadataGenerator valueMetadataGenerator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCollection
(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 org.hibernate.envers.configuration.internal.metadata.AbstractCollectionMetadataGenerator
addAttributesToEntity, addIndex, addMapper, addValueToMiddleTable, createCommonCollectionMapperData, createMiddleIdData, getOrderBy, getOrderByCollectionRole, getPrefixedIdAttributes, isEmbeddableElementType, isLobMapElementType
Methods inherited from class org.hibernate.envers.configuration.internal.metadata.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:AbstractCollectionMetadataGenerator
Entry point for all collection-based metadata generators where the collection will be inspected and the appropriate boot and runtime mappings are generated.- Specified by:
addCollection
in classAbstractCollectionMetadataGenerator
- Parameters:
context
- the per-collection metadata context
-