Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 60973 invoked from network); 16 Jan 2008 07:33:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2008 07:33:55 -0000 Received: (qmail 346 invoked by uid 500); 16 Jan 2008 07:33:45 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 185 invoked by uid 500); 16 Jan 2008 07:33:44 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 176 invoked by uid 99); 16 Jan 2008 07:33:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 23:33:44 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 07:33:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0BCEB714204 for ; Tue, 15 Jan 2008 23:33:34 -0800 (PST) Message-ID: <5241461.1200468814045.JavaMail.jira@brutus> Date: Tue, 15 Jan 2008 23:33:34 -0800 (PST) From: "Patrick Linskey (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Reopened: (OPENJPA-491) JPQL extension: scalar functions in GROUP BY In-Reply-To: <14215843.1200450334079.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 [ https://issues.apache.org/jira/browse/OPENJPA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Linskey reopened OPENJPA-491: ------------------------------------- > JPQL extension: scalar functions in GROUP BY > -------------------------------------------- > > Key: OPENJPA-491 > URL: https://issues.apache.org/jira/browse/OPENJPA-491 > Project: OpenJPA > Issue Type: New Feature > Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1 > Reporter: Patrick Linskey > Fix For: 1.1.0 > > > JPQL does not allow scalar functions to be used in GROUP BY clauses. This can be useful. Example: > select substring(o.stringField, 1, 1), count(o) from AllFieldTypes o > group by substring(o.stringField, 1, 1) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.