Issue Details (XML | Word | Printable)

Key: NUCCORE-748
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Handle case of range not allowing return of any object in Query.java so store plugins don't need to

Created: 16/Jul/11 12:53 PM   Updated: 01/Aug/11 10:23 AM   Resolved: 16/Jul/11 01:29 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 3.0.0.release


 Description  « Hide
In the case of a JDO query like
SELECT FROM MyClass RANGE 1,1
there are no results possible. The JDO spec 14.6.8 defines what ought to be returned, so no need to actually run the query, and just return either null or an empty List as per the spec

Andy Jefferson added a comment - 16/Jul/11 01:29 PM
SVN trunk now adds this handling

Andy Jefferson made changes - 16/Jul/11 01:29 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Aug/11 10:23 AM
Status Resolved [ 5 ] Closed [ 6 ]