@Transactional
  public void refresh(E entity) {
    entityManagerProvider.get().refresh(entity);
  }
Refreshes entity.

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