Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 65063 invoked from network); 21 Aug 2006 19:37:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Aug 2006 19:37:19 -0000 Received: (qmail 59802 invoked by uid 500); 21 Aug 2006 19:37:19 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 59732 invoked by uid 500); 21 Aug 2006 19:37:19 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 59722 invoked by uid 99); 21 Aug 2006 19:37:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 12:37:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Aug 2006 12:37:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C9B957142E4 for ; Mon, 21 Aug 2006 19:34:14 +0000 (GMT) Message-ID: <20436478.1156188854824.JavaMail.jira@brutus> Date: Mon, 21 Aug 2006 12:34:14 -0700 (PDT) From: "Kevin Sutter (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Updated: (OPENJPA-15) EJBQL grammar needs to be updated to relfect JPA specification In-Reply-To: <32785404.1155768493817.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/OPENJPA-15?page=all ] Kevin Sutter updated OPENJPA-15: -------------------------------- Attachment: (was: JPQLExpressionBuilder.java) > 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, JPQLExpressionBuilder.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