@Audited and @AuditOverride does not work consistently for embeddables that extend a mapped superclass

Description

> So the basic rule is:
> - fields from a non-audited mapped superclass are never audited, unless an
> @AuditOverride is specified
> - if the mapped superclass is audited, then its fields are of course audited
> as well
>
> > In the following, A.b.intValue should be audited; A.b.strValue should not
> > be audited.
> >

>
> Looks good
>
> > In the following, both A.b.intValue and A.b.strValue should be audited:
> >

>
> Yes
>
> > In the following, both A.b.intValue and A.b.strValue should be audited.
> >

>
> Yes
>
> > What should be the outcome of the following? Should A.b.strValue still be
> > audited even though A.b is explicitly not audited?
> >

>
> @NotAudited has precedence - so not audited.

...

> Adam Warski

Environment

None

Assignee

Chris Cranford

Reporter

Gail Badner

Fix versions

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

Affirmative

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure