org.hibernate.envers.entities.mapper.relation.query
Interface RelationQueryGenerator
- All Known Implementing Classes:
- OneAuditEntityQueryGenerator, OneEntityQueryGenerator, ThreeEntityQueryGenerator, TwoEntityOneAuditedQueryGenerator, TwoEntityQueryGenerator
public interface RelationQueryGenerator
TODO: cleanup implementations and extract common code
Implementations of this interface provide a method to generate queries on a relation table (a table used
for mapping relations). The query can select, apart from selecting the content of the relation table, also data of
other "related" entities.
- Author:
- Adam Warski (adam at warski dot org)
getQuery
Query getQuery(AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.