Logger log = CSMART.createLogger("org.cougaar.tools.csmart.core.db");
  static String query1String(String query, Map substitutions, String qFile){    String dbQuery = DBUtils.getQuery(query, substitutions, qFile);        String res = null;    try {      Connection conn = DBUtils.getConnection(qFile);      try {	Statement stmt = conn.createStatement();		ResultSet rs = stmt.executeQuery(dbQuery);	if (rs.next()) {	  	  res=rs.getString(1);	}	rs.close();	stmt.close();      } finally {	conn.close();      }          } catch (Exception e) {      System.out.println("query1String: "+dbQuery);      e.printStackTrace();      throw new RuntimeException("Error" + e);    }    return res;  }