[
https://issues.apache.org/jira/browse/JDO-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903067#comment-14903067
]
Andy Jefferson commented on JDO-652:
------------------------------------
If you want a better query API utilising Java 8 language features (and there
are clearly lots of ideas around about how it could look, e.g Jinq) i'd
encourage you to develop a proof of concept and ask for ideas as your concept
starts to take shape - having something usable to visualise it is the best way
of getting feedback. Feel free to clone the DN datanucleus-api-jdo and
datanucleus-java8 plugins so it is readily visible, and if it comes to
something it could initially become part of DN and then later JDO? i.e the same
steps as we went through with the JDOQLTypedQuery.
> Provision of a typesafe refactor-friendly query capability for JDOQL
> --------------------------------------------------------------------
>
> 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.2
>
> Attachments: typesafe.patch, typesafe_manifest.patch
>
>
> 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 should
> seriously consider introducing something along these lines in the JDO2.4
> timeframe.
> There is a comparison of JPA Criteria with QueryDSL over at
> http://source.mysema.com/forum/mvnforum/viewthread_thread,49
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)