[ 
https://issues.apache.org/jira/browse/JDO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bouschen updated JDO-580:
---------------------------------

    Attachment: JDO-580.patch

Attached you find a patch adding two new query test classes: AggregateOnSize 
and MethodsInResult. The first test class runs a query with a subquery having a 
aggregate on a size expression. Class MethodsInResult runs 6 test queries with 
method calls in the result clause. The patch applies to subprojects tck2 and 
tck2-legacy.

The test methods currently fail. I will add the test results and a 
configuration file for the new classes as soon as the patch is checked in.

> Add TCK query test using methods in the query result
> ----------------------------------------------------
>
>                 Key: JDO-580
>                 URL: https://issues.apache.org/jira/browse/JDO-580
>             Project: JDO
>          Issue Type: Test
>          Components: tck2, tck2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Michael Bouschen
>            Assignee: Michael Bouschen
>             Fix For: JDO 2 maintenance release 3
>
>         Attachments: JDO-580.patch
>
>
> There are currently no TCK tests for using size() and max() or other 
> aggregates in queries. For example, find the Node or Nodes with the maximum 
> number of children: SELECT FROM Node WHERE this.children.size() == (SELECT 
> MAX(n.children.size()) FROM Node n).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to