EOSQLExpression sql = ERXEOAccessUtilities.sqlExpressionForFetchSpecificationAndEditingContext(spec, ec, start, end);
EOSQLExpression sql = ERXEOAccessUtilities.sqlExpressionForFetchSpecification(ec, spec, start, end);
    public static NSArray objectsInRange(EOEditingContext ec, EOFetchSpecification spec, int start, int end) {        EOSQLExpression sql = ERXEOAccessUtilities.sqlExpressionForFetchSpecificationAndEditingContext(spec, ec, start, end);        NSDictionary hints = new NSDictionary(sql, "EOCustomQueryExpressionHintKey");        spec.setHints(hints);        return ec.objectsWithFetchSpecification(spec);    }