| Related to the test – orphanRemoval = true for a collection mapped as @Immutable is invalid, since an immutable collection should not have entities removed from it. The only exception is if the collection owner is deleted. I that case, cascade=DELETE should be used instead. |