The audit query API of Envers has currently no means to specify an 'on-clause' criteria when traversing relations to entities or components. An additional method 'traverseRelation(String associationName, JoinType joinType, String alias, AuditCriterion onClause) should be introduced where the specified 'onClause' AuditCriterion is used in the on-clause of the generated association join. |