db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-160) Implement new JDO 2 query tests cases concerning parameters.
Date Wed, 19 Oct 2005 10:05:46 GMT
    [ http://issues.apache.org/jira/browse/JDO-160?page=comments#action_12332464 ] 

Michael Bouschen commented on JDO-160:

Two comments:
- Class OrderOfParameters defines queries using explicilty declared parameters . I propose
to change this to implicit parameters, because the assertion only covers implicit parameters.
- The grouping query in class ImplicitParameters is not valid, it misses a result clause.
I propose to add the following result clause: "department.name, COUNT(this)" and change the
grouping clause to "department.name HAVING COUNT(this) >= :min".

> Implement new JDO 2 query tests cases concerning parameters.
> ------------------------------------------------------------
>          Key: JDO-160
>          URL: http://issues.apache.org/jira/browse/JDO-160
>      Project: JDO
>         Type: New Feature
>   Components: tck20
>     Reporter: Michael Watzek
>     Assignee: Michael Watzek
>  Attachments: JDO-160.patch, JDO-160.patch2
>  We need 4 new test classes, one for each of the following assertions: 
> - A14.6.3-2: Parameters must all be declared explicitly via declareParameters or all
be declared implicitly in the filter.
> - A14.6.3-3: Parameters implicitly declared (in the result, filter, grouping, ordering,
or range) are identified by prepending a ":" to the parameter everywhere it appears. All parameter
types can be determined by one of the following techniques.
> - A14.6.13-3: If implicit parameters are used, their order of appearance in the query
determines their order for binding to positional parameters for execution.
> Details can be found on Wiki page http://wiki.apache.org/jdo/QueryTests#Parameters

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message