db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <Michelle.Cai...@Sun.COM>
Subject Re: New query assertions
Date Thu, 08 Sep 2005 15:32:13 GMT
Hi Michael,

Sounds good.  I've added this assertion to the working draft of the spec 
and the spreadsheet.

-- Michelle

Michael Bouschen wrote:

> Hi Michelle,
>
> I think we need a new assertion in the query chapter. It is about 
> overriding elements of a Query instance created using a single string 
> JDOQL query.
>
> The new assertion A14.6-23 should cover the second and third item in 
> the bulleted list in section "14.6 Query Interface", subsection "Query 
> evaluation" on page 147 of the proposed final draft (August 10) of the 
> spec:
> • the single string query is first parsed to yield the result, result 
> class, filter, variable list, parameter list, import list, grouping, 
> ordering, and range.
> • then, the values specified in APIs setResult, setResultClass, 
> setFilter, declareVariables, declareParamters, declareImports, 
> setGrouping, setOrdering, and setRange override the corresponding 
> settings from the single string query.
>
> What do you think?
>
> Regards Michael
>


Mime
View raw message