Support private persistent attributes in @MappedSuperclas

Description

When bytecode enhancement is enabled a change to a property in a mapped superclass does not mark the entity dirty. Subsequently that change is not persisted.

Find attached a test case. Run with "mvn test". The change to setParentValue() does not get applied on flush. When enhancement is turned off, the test case works as expected.

The generated methods in the mapped superclass do not delegate to any dirty tracker.
I would expect that e.g. the entity overrides the superclass methods and in there delegates to its dirty tracker.

Environment

None

Status

Assignee

Luis Barreiro

Reporter

Alexander Pinske

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure