@Transactional
  public void remove(HostEntity hostEntity) {
    entityManagerProvider.get().remove(hostEntity);
  }
Refreshes entity state from database
@param hostEntity entity to refresh
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostDAO.java