|
HHH-8908
needs to be reverted because it makes an incorrect assumption. Mapped-superclass fields/methods should not be audited unless explictly audited or by using an @AuditOverride.
That is how it currently works for an entity that extends a mapped-superclass; it should work the same way when an embeddable extends a mapped-superclass.
For the test case described in this issue, testCode.code and genericCode.code should not be audited. Only genericCode.codeArt should be audited because the embeddable contains the codeArt field (not the mapped-superclass).
This issue will only revert
HHH-8908
. HHH-9193 will make the audit behavior consistent.
|