You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kevin Sutter (JIRA)" <ji...@apache.org> on 2006/08/21 21:42:16 UTC

[jira] Commented: (OPENJPA-15) EJBQL grammar needs to be updated to relfect JPA specification

    [ http://issues.apache.org/jira/browse/OPENJPA-15?page=comments#action_12429513 ] 
            
Kevin Sutter commented on OPENJPA-15:
-------------------------------------

I helped Catalina clean up the attachments.  The JPQL.txt file contains the patches for both JPQL.jtt and JPQLExpressionBuilder.java.  Sorry for the confusion (we're new to JIRA...).

> 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: JPQL.txt
>
>
> 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