Certain mappings are not audited when revision_on_collection_change is false

Description

If you have a ManyToMany relation between objects A and B, hibernate create a third table A_B and by default Envers audit this table and insert a line each time the relation is modified.

Now if you set the property "org.hibernate.envers.revision_on_collection_change" to false, no more line are added to this table and it's not possible to navigate between object A and B using audit tables.

Environment

None

Assignee

Chris Cranford

Reporter

William Ferreira

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Feedback Requested

2019/12/06

Feedback Requested By

Chris Cranford

Components

Affects versions

Priority

Major
Configure