Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 21399 invoked from network); 12 Nov 2009 04:46:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Nov 2009 04:46:04 -0000 Received: (qmail 63118 invoked by uid 500); 12 Nov 2009 04:46:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 62956 invoked by uid 500); 12 Nov 2009 04:46:02 -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 62624 invoked by uid 99); 12 Nov 2009 04:46:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 04:46:02 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Nov 2009 04:45:59 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BE6A1234C4AF for ; Wed, 11 Nov 2009 20:45:39 -0800 (PST) Message-ID: <1930636968.1258001139778.JavaMail.jira@brutus> Date: Thu, 12 Nov 2009 04:45:39 +0000 (UTC) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Resolved: (OPENJPA-1276) Support CQL for Criteria Query In-Reply-To: <641430434.1251828273114.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinaki Poddar resolved OPENJPA-1276. ------------------------------------ Resolution: Fixed > Support CQL for Criteria Query > ------------------------------ > > Key: OPENJPA-1276 > URL: https://issues.apache.org/jira/browse/OPENJPA-1276 > Project: OpenJPA > Issue Type: New Feature > Components: jpa, query, tooling > Affects Versions: 2.0.0-M3, 2.0.0-M4, 2.0.0 > Reporter: Pinaki Poddar > Assignee: Pinaki Poddar > Fix For: 2.0.0-M4, 2.0.0 > > Original Estimate: 336h > Remaining Estimate: 336h > > Support a mechanism to translate a Criteria Query instance into a String. > The string syntax should be *almost* JPQL but not exactly. Because some Criteria Query expressions do not have a direct JPQL representation. > I will refer this almost JPQL-like syntax as Criteria Query Language or CQL -- which will provide ample scope of confusion being homophonic with SQL. > From a technical perspectives, conversion to a string format should address the following > 1. the string should look more like JPQL than a mere translation of internal expressions (say BETWEEN in two EQUAL nodes ANDed together internally) > 2. the criteria query may be incomplete. This will be useful for the IDE tools to display the string as an user constructs the query. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.