orphanRemoval not working when other same-table-relations are initialized

Description

using these entities:

when executing:

no DELETE statement is issued.

If you don't initialize higherItemRelations then everything is working fine.

I'll produce a unit test as soon as I can.

Thanks

Environment

tested with MySQL 5.7 and embedded Derby

Assignee

Unassigned

Reporter

Michele Mariotti

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure