System.out.println("setting " + pname + "=" + pvalue);
  private void setComponentProperties(ConfigurableComponent cc,                                      String comp_alib_id,                                      String assemblyMatch)  {    try {      Connection conn = DBUtils.getConnection();      Map substitutions = new HashMap();      substitutions.put(":assemblyMatch", assemblyMatch);      substitutions.put(":comp_alib_id", comp_alib_id);      Statement stmt = conn.createStatement();      String query = DBUtils.getQuery(COMPONENT_ARGS_QUERY, substitutions);      System.out.println("Organizer " + COMPONENT_ARGS_QUERY + ": "  + query);      ResultSet rs = stmt.executeQuery(query);      while(rs.next()) {        String param = rs.getString(1);        if (param.startsWith(Experiment.PROP_PREFIX)) {          int ix1 = Experiment.PROP_PREFIX.length();          int ix2 = param.indexOf('=', ix1);          String pname = param.substring(ix1, ix2);          String pvalue = param.substring(ix2 + 1);          Property prop = cc.getProperty(pname);          if (prop == null) {            System.out.println("adding " + pname + "=" + pvalue);            cc.addProperty(pname, pvalue);          } else {            System.out.println("setting " + pname + "=" + pvalue);            prop.setValue(pvalue);          }        }      }      rs.close();      stmt.close();      conn.close();    } catch (SQLException se) {            System.err.println("Caught SQL exception: " + se);      se.printStackTrace();    }  }