retTRI.setStatement(statement); return retTRI;
    public static TableRowIterator query(Context context, String table,            String query) throws SQLException    {        if (log.isDebugEnabled())        {            log.debug("Running query \"" + query + "\"");        }        Statement statement = context.getDBConnection().createStatement();        return new TableRowIterator(statement.executeQuery(query),                canonicalize(table));    }