From dev-return-17498-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Sep 30 17:20:55 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 7653 invoked from network); 30 Sep 2010 17:20:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Sep 2010 17:20:54 -0000 Received: (qmail 40181 invoked by uid 500); 30 Sep 2010 17:20:54 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 40138 invoked by uid 500); 30 Sep 2010 17:20:54 -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 40130 invoked by uid 99); 30 Sep 2010 17:20:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 17:20:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 17:20:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8UHKWiu029755 for ; Thu, 30 Sep 2010 17:20:33 GMT Message-ID: <24733568.480961285867232559.JavaMail.jira@thor> Date: Thu, 30 Sep 2010 13:20:32 -0400 (EDT) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Reopened: (OPENJPA-1277) Support JPQL to Criteria Query conversion In-Reply-To: <1534840251.1251828632731.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-1277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinaki Poddar reopened OPENJPA-1277: ------------------------------------ Nothing is done on this issue and was closed by oversight/mistake. The issue as it currently stands has no resolution. The implementation artifacts are available at runtime to achieve this goal. But what is unclear is the usage point of view for such a feature. It appears that such a feature should provide support more at design-time rather than at runtime. However the current JPA programming model is entirely based on runtime artifacts and has absolutely no design-time utility API. Unless that larger issue is addressed, it is not advisable to approach this specific problem in isolation. > Support JPQL to Criteria Query conversion > ----------------------------------------- > > Key: OPENJPA-1277 > URL: https://issues.apache.org/jira/browse/OPENJPA-1277 > Project: OpenJPA > Issue Type: New Feature > Components: jpa, query > Reporter: Pinaki Poddar > Assignee: Pinaki Poddar > Fix For: 2.0.0-M3 > > Original Estimate: 672h > Remaining Estimate: 672h > > Develop a mechanics to generate a Criteria Query from a JPQL string. > A mechanics to convert an existing JPQL string into a Criteria Query will ease adoption of the new API. > The conversion mechanics should operate both a design-time (to emit Java source code) as well as runtime (to instantiate of Criteria Query instances). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.