You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2015/04/06 11:14:12 UTC

[jira] [Created] (JDO-737) Change Query API to be "fluent"

Andy Jefferson created JDO-737:
----------------------------------

             Summary: Change Query API to be "fluent"
                 Key: JDO-737
                 URL: https://issues.apache.org/jira/browse/JDO-737
             Project: JDO
          Issue Type: New Feature
          Components: api, specification, tck
            Reporter: Andy Jefferson
             Fix For: JDO 3.2


Further to JDO-736 it would be nice to redesign the Query class to have the setter methods as FLUENT, so a user could do
Query q = pm.newQuery(Person.class).filter("firstName.startsWith('F')").orderBy("firstName");

We could just add a subset of the setters as methods without "set" so as to align further with the typesafe variant in JDO-652.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)