public class LspsAuditEntityInstantiator
extends org.hibernate.envers.entities.EntityInstantiator
| Constructor and Description |
|---|
LspsAuditEntityInstantiator(org.hibernate.envers.configuration.AuditConfiguration verCfg,
org.hibernate.envers.reader.AuditReaderImplementor versionsReader) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createInstanceFromVersionsEntity(String entityName,
Map versionsEntity,
Number revision)
Creates an entity instance based on an entry from the versions table.
|
public LspsAuditEntityInstantiator(org.hibernate.envers.configuration.AuditConfiguration verCfg,
org.hibernate.envers.reader.AuditReaderImplementor versionsReader)
public Object createInstanceFromVersionsEntity(String entityName, Map versionsEntity, Number revision)
createInstanceFromVersionsEntity in class org.hibernate.envers.entities.EntityInstantiatorentityName - Name of the entity, which instances should be readversionsEntity - An entry in the versions table, from which data should be mapped.revision - Revision at which this entity was read.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.