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-962
Type: Task Task
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 Core

Add convenience accessor to find objects for specified ids from just the cache (L1/L2)

Created: 02/Dec/12 09:50 AM   Updated: 31/Dec/12 07:58 PM   Resolved: 02/Dec/12 09:55 AM
Component/s: Cache, Code Structure
Affects Version/s: None
Fix Version/s: 3.1.4, 3.2.0.m2


 Description  « Hide
Some datastores have specific methods to just return the "id" of objects matching a query that is much more efficient than returning the whole objects. Would be nice to expose a method in ExecutionContext that returns the objects with a set of ids, just looking in the caches (firstly L1, otherwise L2).

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 02/Dec/12 09:55 AM
SVN trunk and branches/3.1 have this