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)

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 Store RDBMS

Allow serialisation of query results direct, loading all remaining results as required

Created: 17/Jan/12 05:54 PM   Updated: 06/Feb/12 10:15 AM   Resolved: 17/Jan/12 07:28 PM
Component/s: Queries
Affects Version/s: 2.0.5, 2.1.4, 2.2.3, 3.0.0.release, 3.0.5
Fix Version/s: 3.0.6

 Description  « Hide
If a user tries to serialise a QueryResult object right now it will just try to serialise the content of the QueryResult object using the default serialisation process. This omits loading of other results etc. We need to provide serialisation handling to disconnect the query result (loading all remaining results), and return an ArrayList for serialising

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 17/Jan/12 07:28 PM
SVN trunk handles this fine, and a test is present in test.jdo.datastore JDOQLBasicTest