System.err.println("YES! " + id + " + " + typeID + " + " + subj); } else { System.err.println("NO!  " + id + " + " + typeID);
  protected static Subject subject(String id, String typeID) {    GrouperBackend._init();    Subject subj = null;    try {      Query q = session.createQuery(        "SELECT ALL FROM GROUPER_SUBJECT "     +        "IN CLASS edu.internet2.middleware.grouper.SubjectImpl " +        "WHERE "                              +        "subjectID='"     + id      + "' "    +         "AND "                                +        "subjectTypeID='" + typeID  + "'"      );      if (q.list().size() == 1) {        // We only want *one* subject.        subj = (Subject) q.list().get(0);        System.err.println("YES! " + id + " + " + typeID + " + " + subj);      } else {        System.err.println("NO!  " + id + " + " + typeID);      }      // TODO Throw an exception?    } catch (Exception e) {      System.err.println(e);      System.exit(1);    }    return subj;  }