orphanRemoval behaviour differ from lazy to eager loading

Description

In a @oneToMany relation you have different behaviours if you removing a children from the collection.

If you remove a children from a fetched collection, the children will not be deleted from the database.
If your collection is lazy fetched, the children will be deleted from the database.

See attached Testcase for example. Execute via

Environment

None

Assignee

Unassigned

Reporter

Florian Kern

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Critical
Configure