[ 
https://issues.apache.org/jira/browse/JDO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539191
 ] 

Michael Bouschen commented on JDO-446:
--------------------------------------

Hi Craig,

1. Good catch. I will change the @param javadoc as proposed before I check in 
the patch.

2. I think there are usecases where the subquery uses the extent as the 
candidate collection. However, I'm not sure whether it is worth adding a new 
method. Moreover, I think we would need to add 4 new methods: the one you 
proposed plus 3 more handling subquery parameters.

Regards Michael


> Add subqueries APIs
> -------------------
>
>                 Key: JDO-446
>                 URL: https://issues.apache.org/jira/browse/JDO-446
>             Project: JDO
>          Issue Type: New Feature
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 final
>            Reporter: Michelle Caisse
>            Assignee: Michael Bouschen
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: subquery-api.patch
>
>
> In 14, add subqueries to permit e.g. select from Employee where this.salary > 
> (select avg(salary) from Employee)

-- 
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