We're updating the issue view to help you get more done. 

Implement left-joins for relation traversion in audit queries

Description

With the Envers query system has been extended with the ability to traverse associations for *-to-one assocations. However, this is limited to inner-joins. With HHH-16, HQL has been extended to support joins on unrelated entities, which enables support for left joins in audit queries.

The already existing Envers query API should be improved, such that left-joins are supported when traversing associations, too. The inner join implementation should also leverage the new unrelated entity join mechanism.

Furthermore, the Envers query API should be extended such that criterias on properties from two related entities can be expressed together in a conjunction, disjunction and in a direct property relation expression.

Environment

None

Status

Assignee

Chris Cranford

Reporter

Felix Feisst

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major