DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-512
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Query.setCandidates(null), Query.setExtent(null) should clear off candidates but don't

Created: 20/Apr/10 02:20 PM   Updated: 04/Oct/12 05:02 PM   Resolved: 20/Apr/10 02:24 PM
Component/s: Persistence
Affects Version/s: 2.0.0.release, 2.0.1, 2.0.2, 2.0.3, 2.1.0.m1
Fix Version/s: 2.1.0.m2

 Description  « Hide
Currently logs a warning that have attempted to set candidates to null, but if we don't clear the candidates out with this then we have no way of resetting the candidates.

Andy Jefferson added a comment - 20/Apr/10 02:24 PM
SVN trunk fixes this, and updates the flawed tests that implied the old behaviour.

Andy Jefferson made changes - 20/Apr/10 02:24 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 26/Apr/10 03:37 PM
Status Resolved [ 5 ] Closed [ 6 ]
Andy Jefferson made changes - 04/Oct/12 05:02 PM
Component/s Persistence [ 10200 ]
Component/s JDO [ 10201 ]