Given the entities (in pseudo code):
class Parent { @Id Long id; @OneToMany(mappedBy = "parent", cascade = CascadeType.ALL, orphanRemoval = tr