Can't add attribute node declared in superclass (inheritance) in EntityGraph

Description

The following code throws IllegalArgumentException:

If includeAllAttributes=true, it works because EntityGraph will include attributes owned by superclass.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Jocki Hendry

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure