Support a way to trigger an audit of a parent association when a child is modified.

Description

If we assume a user has an entity relationship of a Parent/Child association and the user modifies just the child entity type, Envers will not specifically generate an audit row for the parent.

There are use cases where users would like to be able to specifically track some parent association when child entity types are modified. Presently this is only reasonably possible by having the user modify some attribute on the parent type so it gets included in the audit tracking.

Ideally we'd like to look into support where a user can trigger this behavior via some type of configuration through an annotation rather than explicit in their user code.

We may investigate this as part of HHH-11326.

Environment

None

Assignee

Chris Cranford

Reporter

Chris Cranford

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure