@Transactional
  public void remove(E entity) {
    entityManagerProvider.get().remove(merge(entity));
    entityManagerProvider.get().getEntityManagerFactory().getCache().evictAll();
  }
Deletes entity.

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