@Transactional
  public void remove(ViewInstanceEntity viewInstanceEntity) {
    entityManagerProvider.get().remove(merge(viewInstanceEntity));
  }
Remove the entity instance.

@param viewInstanceEntity  entity to remove
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ViewInstanceDAO.java