Envers mistakenly associate two relation ends with the same db column

Description

Create three entities - two of them have one-to-many relation to third, which has many-to-one relation to only one entity.
Key column for both one-to-many relation is the same (because they have equal ID).
Only one one-to-many relation is audited (with TargetAuditMode = RelationTargetAuditMode.NotAudited).
Envers fails with NH exception.

Environment

None

Assignee

Unassigned

Reporter

Patryk Marek

Labels

Components

Fix versions

Affects versions

Priority

Minor
Configure