db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-446) Add subqueries APIs
Date Tue, 30 Oct 2007 20:15:51 GMT

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

Craig Russell commented on JDO-446:
-----------------------------------

Here's what the spec currently says about Map method:
The Map version of the method treats the key of each map entry as the name of the parameter
in the subquery, with or without the leading ":", and the value as the name of the expression
in the outer query. If the trimmed expression is the empty String for either the parameter
or the value of the String[], or for any map key or value, that expression is ignored.

And for the Object... method:
The String[] version of the method binds the named expressions in turn to parameters in the
order in which they are declared in the subquery, or in the order they are found in the filter
if not explicitly declared in the subquery. 

> 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: Query-patch.txt, 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.


Mime
View raw message