System.err.println("Caught SQL exception: " + se);
System.err.println("Caught SQL exception getting hosts: " + query + ": " + se);
  private ArrayList getHosts(String trialId, String assemblyMatch) {    ArrayList hosts = new ArrayList();    try {      Connection conn = DBUtils.getConnection();      Map substitutions = new HashMap();      substitutions.put(":assemblyMatch", assemblyMatch);      Statement stmt = conn.createStatement();      String query = DBUtils.getQuery(EXPT_HOST_QUERY, substitutions);      //      System.out.println("Organizer: Get hosts query: " + query);      ResultSet rs = stmt.executeQuery(query);      while(rs.next()) {        hosts.add(rs.getString(1));      }      rs.close();      stmt.close();      conn.close();    } catch (SQLException se) {            System.err.println("Caught SQL exception: " + se);      se.printStackTrace();    }    return hosts;  }