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-419
Type: Improvement Improvement
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

Provide support for bulk object retrieval

Created: 02/Nov/09 12:32 PM   Updated: 26/Dec/09 12:57 PM   Resolved: 03/Nov/09 03:27 PM
Component/s: Datastore Support
Affects Version/s: None
Fix Version/s: 2.0.0.m4

 Description  « Hide
When a user invokes pm.getObjectById() it (ignoring caching) results in a SQL SELECT (for RDBMS). Similarly when invoking pm.getObjectsById() it results in "n" SQL SELECTs. Would be desirable to allow an efficient datastore implementation to retrieve all objects that aren't cached and so need a datastore retrieval.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 03/Nov/09 03:27 PM
DN core SVN trunk now provides support for bulk persist/delete demarcation, and also for bulk locate/find operations. Locate still needs enabling, but datastores can now enable this functionality if they want to support it