Support specification of 'on-clause' criterias when traversing relations in audit query API

Description

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.

Environment

None

Status

Assignee

Chris Cranford

Reporter

Felix Feisst

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major