Delete Orphan in Hibernate
When we detach child entity from parent entity, then that child entity is called orphan. If we do orphanRemoval = true, then flushing the changes automatically removes the child entity which was not associated with parent entity would be deleted from database.