Derived entity usecase fails when the association is bidirectional

Description

See https://forum.hibernate.org/viewtopic.php?f=9&t=1005649

The exception is

The mapping is as follows:

It does not work with @IdClass either.

Environment

None

Assignee

Gail Badner

Reporter

Hardy Ferentschik

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure