Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 52526 invoked from network); 30 Aug 2006 18:18:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 18:18:48 -0000 Received: (qmail 38290 invoked by uid 500); 30 Aug 2006 18:18:47 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 38268 invoked by uid 500); 30 Aug 2006 18:18:47 -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 38259 invoked by uid 99); 30 Aug 2006 18:18:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 11:18:47 -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; Wed, 30 Aug 2006 11:18:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D5B1741000E for ; Wed, 30 Aug 2006 18:15:22 +0000 (GMT) Message-ID: <20551673.1156961722841.JavaMail.jira@brutus> Date: Wed, 30 Aug 2006 11:15:22 -0700 (PDT) From: "Marc Prud'hommeaux (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Resolved: (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 ] 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