@Transactional
  public void refresh(ViewEntity ViewEntity) {
    entityManagerProvider.get().refresh(ViewEntity);
  }
Refresh the state of the instance from the database,
overwriting changes made to the entity, if any.

@param ViewEntity  entity to refresh
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ViewDAO.java