@Transactional
  public void remove(Collection<E> entities) {
    for (E entity : entities) {
      entityManagerProvider.get().remove(merge(entity));
    }
    entityManagerProvider.get().getEntityManagerFactory().getCache().evictAll();
  }
Deletes entities.

@param entities entities to delete
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/CrudDAO.java