org.hibernate.envers.entities.mapper.relation.query
Class OneAuditEntityQueryGenerator
java.lang.Object
org.hibernate.envers.entities.mapper.relation.query.OneAuditEntityQueryGenerator
- All Implemented Interfaces:
- RelationQueryGenerator
public final class OneAuditEntityQueryGenerator
- extends Object
- implements RelationQueryGenerator
Selects data from an audit entity.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneAuditEntityQueryGenerator
public OneAuditEntityQueryGenerator(GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
AuditStrategy auditStrategy,
MiddleIdData referencingIdData,
String referencedEntityName,
MiddleIdData referencedIdData)
getQuery
public Query getQuery(AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision)
- Specified by:
getQuery
in interface RelationQueryGenerator
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.