@Transactional
  public void remove(AlertHistoryEntity alert) {
    alert = merge(alert);

    removeCurrentByHistoryId(alert.getAlertId());
    m_entityManagerProvider.get().remove(alert);
  }
Removes the specified alert from the database.

@param alert
         the alert to remove.
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java