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: NUCNEOFORJ-35
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

List retrieval uses Neo4j iterator twice (and Neo4j iterator is single-use)

Created: 20/Sep/12 04:28 PM   Updated: 27/Sep/12 04:00 PM   Resolved: 20/Sep/12 04:32 PM
Component/s: Query
Affects Version/s: None
Fix Version/s: 3.1.2


 Description  « Hide
When retrieving elements of a List we traverse the iterator to get the size then do it again to convert the elements. This doesn't work for Neo4j since it returns (broken) single-use iterators that once traversed just return null

Andy Jefferson added a comment - 20/Sep/12 04:32 PM
SVN trunk fixes this, and also supports JPQL ordered lists ordering clause

Andy Jefferson made changes - 20/Sep/12 04:32 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 27/Sep/12 04:00 PM
Status Resolved [ 5 ] Closed [ 6 ]