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)

Reply via email to