Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 42886 invoked from network); 24 Aug 2006 20:23:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Aug 2006 20:23:08 -0000 Received: (qmail 13221 invoked by uid 500); 24 Aug 2006 20:21:24 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 13193 invoked by uid 500); 24 Aug 2006 20:21:24 -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 13163 invoked by uid 99); 24 Aug 2006 20:21:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2006 13:21:24 -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; Thu, 24 Aug 2006 13:21:18 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6DF51410010 for ; Thu, 24 Aug 2006 20:18:09 +0000 (GMT) Message-ID: <2892380.1156450689447.JavaMail.jira@brutus> Date: Thu, 24 Aug 2006 13:18:09 -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: OPENJPA-15.openjpa-kernel.txt) > 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 > > 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