Class EntityDeletionUtils

java.lang.Object
ch.tocco.nice2.model.entity.api.util.EntityDeletionUtils

public class EntityDeletionUtils extends Object
Helper class which allows deletion of entities The models are ordered in a way to avoid constraint violations: - the many to one side is deleted first (because the foreign key is on that side) - many to many: the owning side is deleted first (because the owning side manages the join table)