Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 94330 invoked from network); 1 Jul 2010 21:09:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jul 2010 21:09:14 -0000 Received: (qmail 97936 invoked by uid 500); 1 Jul 2010 21:09:14 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 97928 invoked by uid 99); 1 Jul 2010 21:09:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jul 2010 21:09:13 +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, 01 Jul 2010 21:09:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o61L8ni2002134 for ; Thu, 1 Jul 2010 21:08:49 GMT Message-ID: <10084091.161451278018529836.JavaMail.jira@thor> Date: Thu, 1 Jul 2010 17:08:49 -0400 (EDT) From: =?utf-8?Q?Timo_Westk=C3=A4mper_=28JIRA=29?= To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-652) Provision of a statically-typed refactor-friendly query capability for JDOQL In-Reply-To: <8636188.18591271057620534.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-652?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1288442= 3#action_12884423 ]=20 Timo Westk=C3=A4mper commented on JDO-652: ------------------------------------- Matthew, could you give some code examples how a fluent Query API using the= not implemented Java features could look like? If I understand correctly it provides only typesafe shortcuts to direct fie= lds and methods. So you end up with a static metamodel like in JPA 2 Criter= ia. Using a static metamodel for query construction is quite verbose as you= will know if you have used JPA 2 Criteria. > Provision of a statically-typed refactor-friendly query capability for JD= OQL > -------------------------------------------------------------------------= --- > > Key: JDO-652 > URL: https://issues.apache.org/jira/browse/JDO-652 > Project: JDO > Issue Type: New Feature > Components: api, specification, tck > Reporter: Andy Jefferson > Fix For: JDO 3 maintenance release 1 > > > There are various querying capabilities of this type around. JPA2 has its= Criteria query API. Third party solutions like QueryDSL also exist, in its= case providing a JDOQL implementation (as well as JPQL, and HQL). We shoul= d seriously consider introducing something along these lines in the JDO2.4 = timeframe.=20 > There is a comparison of JPA Criteria with QueryDSL over at=20 > http://source.mysema.com/forum/mvnforum/viewthread_thread,49 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.