[ http://issues.apache.org/jira/browse/OPENJPA-15?page=all ]
Marc Prud'hommeaux resolved OPENJPA-15.
---------------------------------------
Resolution: Fixed
Applied patch and it passes all our internal tests. I've gone ahead and
committed the changes and am marking this issue resolved.
> EJBQL grammar needs to be updated to relfect JPA specification
> --------------------------------------------------------------
>
> Key: OPENJPA-15
> URL: http://issues.apache.org/jira/browse/OPENJPA-15
> Project: OpenJPA
> Issue Type: Bug
> Components: query
> Reporter: David Wisneski
> Assigned To: Catalina Wei
> Attachments: openjpa-15.openjpa-kernel.patch
>
>
> when used in subquery, SELECT has different grammar than in top most query.
> SELECT NEW is not allowed. FROM in subuqery has different syntax than in top
> most query. For example "FROM d.employees as e " in subquery where it
> would be invalid in top query. Expression syntax in HAVING clause needs to
> allow "HAVING min(e.salary) > 10 " is valid provided that e.salary is a
> grouping field.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira