GLMDebug.ERROR(className_,"executeQuery failed: "+sqle);
if (logger.isErrorEnabled()) { logger.error("executeQuery failed: " + sqle); }
  public Vector executeQuery(String query) {    Vector result = new Vector();    ResultSet rs = null;    Connection conn = null;    try {      conn = getConnection();      Statement statement = conn.createStatement();      rs = statement.executeQuery(query);      ResultSetMetaData md = rs.getMetaData();      int ncols = md.getColumnCount();      Object row[] = new Object[ncols];      while (rs.next()) {	for (int i = 0; i < ncols; i++) {	  row[i] = rs.getObject(i+1);	}	result.add((Object[])row.clone());      }      /*	if ((ncols*result.size())>100) {	System.err.println("Excessively large query ("+(ncols*result.size())+"): ");	Thread.dumpStack();	}      */      statement.close();    } catch (java.sql.SQLException sqle) {      GLMDebug.ERROR(className_,"executeQuery failed: "+sqle);      sqle.printStackTrace();      return null;    } finally {      if (conn != null)	releaseConnection(conn);    }    return result;  }