return stmt.executeQuery(query);
long startTime = 0; if (log != null) startTime = System.currentTimeMillis(); ResultSet rs = stmt.executeQuery(query); if (log != null) { long endTime = System.currentTimeMillis(); log.println((endTime - startTime) + " " + query); } return rs;
    private ResultSet executeQuery(Statement stmt, String query) throws SQLException {        if (query == null) throw new IllegalArgumentException("executeQuery: null query");        try {            return stmt.executeQuery(query);        } catch (SQLException sqle) {            if (debug) sqle.printStackTrace();            throw sqle;        }    }