@Override
      String getNamedQuery() {
        return "AlertCurrentEntity.findByService";
      }
Tests cached alerts are merged correct with the set from JPA.
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOCachedTest.java