Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B23DD218 for ; Mon, 8 Oct 2012 20:08:03 +0000 (UTC) Received: (qmail 36343 invoked by uid 500); 8 Oct 2012 20:08:03 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 36292 invoked by uid 500); 8 Oct 2012 20:08:03 -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 36194 invoked by uid 99); 8 Oct 2012 20:08:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 20:08:03 +0000 Date: Mon, 8 Oct 2012 20:08:03 +0000 (UTC) From: "Hal Hildebrand (JIRA)" To: dev@openjpa.apache.org Message-ID: <2128332692.10433.1349726883299.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (OPENJPA-1277) Support JPQL to Criteria Query conversion 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:comment-tabpanel&focusedCommentId=13471822#comment-13471822 ] Hal Hildebrand commented on OPENJPA-1277: ----------------------------------------- I would like to add +1 to this as well. We have the same use case in that we need to transform the original query to add dynamic and user specified security rules to the query. This is incredibly straight forward if we simply transform a tree based version. This is kind of a PITA if we have to do this ourselves. > 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 > 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. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira