[
https://issues.apache.org/jira/browse/JDO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882886#action_12882886
]
Michael Bouschen commented on JDO-580:
--------------------------------------
Thanks for catching this, Andy.
Yes, the expected result should be Integer instead of Long, since the size
methods returns an int.
I fixed the testcase and checked in the fix (see revision 958269).
> 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: specification, tck, tck2-legacy
> Affects Versions: JDO 2 maintenance release 1
> Reporter: Michael Bouschen
> Assignee: Craig L Russell
> Fix For: JDO 3 maintenance release 1
>
> Attachments: derby-app-JDO-580-junit.txt, JDO-580.conf, 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.