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
-
public class MiddleTableCollectionMetadataGenerator extends AbstractCollectionMetadataGenerator
An implementation ofAbstractCollectionMetadataGenerator
that builds collection metadata and association mappings where the association uses a middle table mapping.
-
-
Constructor Summary
Constructors Constructor Description MiddleTableCollectionMetadataGenerator(EnversMetadataBuildingContext metadataBuildingContext, BasicMetadataGenerator basicMetadataGenerator, ValueMetadataGenerator valueMetadataGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
MiddleTableCollectionMetadataGenerator
public MiddleTableCollectionMetadataGenerator(EnversMetadataBuildingContext metadataBuildingContext, BasicMetadataGenerator basicMetadataGenerator, ValueMetadataGenerator valueMetadataGenerator)
-
-
Method Detail
-
addCollection
public void addCollection(CollectionMetadataContext context)
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
-
-