org.hibernate.envers.configuration.metadata
Class AuditMetadataGenerator
java.lang.Object
org.hibernate.envers.configuration.metadata.AuditMetadataGenerator
public final class AuditMetadataGenerator
- extends Object
- Author:
- Adam Warski (adam at warski dot org), Sebastian Komander, Tomasz Bech, Hern�n Chanfreau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditMetadataGenerator
public AuditMetadataGenerator(Configuration cfg,
GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
org.dom4j.Element revisionInfoRelationMapping,
AuditEntityNameRegister auditEntityNameRegister)
getSchema
protected String getSchema(String schemaFromAnnotation,
Table table)
getCatalog
protected String getCatalog(String catalogFromAnnotation,
Table table)
generateFirstPass
public void generateFirstPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData,
boolean isAudited)
generateSecondPass
public void generateSecondPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData)
getEntitiesConfigurations
public Map<String,EntityConfiguration> getEntitiesConfigurations()
getNotAuditedEntitiesConfigurations
public Map<String,EntityConfiguration> getNotAuditedEntitiesConfigurations()
- Get the notAuditedEntitiesConfigurations property.
- Returns:
- the notAuditedEntitiesConfigurations property value
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.