Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Change Query setters to return the Query instance, leading to a fluent API

Created: 30/Apr/14 12:47 PM   Updated: 30/Apr/14 02:49 PM   Resolved: 30/Apr/14 02:49 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0.m1

 Description  « Hide
If using Query as a declarative API we should be able to do

Query q = pm.newQuery(MyClass.class)
List<MyClass> results = q.executeList();

This issue is to address the ability to use the API fluently (not to address the removal of the need to cast the execute results).

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 30/Apr/14 02:49 PM
GitHub master changes javax.jdo.Query to have a fluent API wrt setters