[ https://issues.apache.org/jira/browse/JDO-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061556#comment-13061556 ]
Michael Bouschen commented on JDO-580: -------------------------------------- Spec update proposal: I propose to add the following to the list of result expression on page 176 of the JDO 3.0 spec.. It should be added between <field expression> and <parameter>. * <method expression>: the value of an expression calling any of the methods allowed in queries applied to fields is returned > 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: JDO-580.conf, JDO-580.patch, derby-app-JDO-580-junit.txt > > > 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. For more information on JIRA, see: http://www.atlassian.com/software/jira