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

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).

Andy Jefferson added a comment - 02/Dec/12 09:55 AM
SVN trunk and branches/3.1 have this

Andy Jefferson made changes - 02/Dec/12 09:55 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.1.4 [ 11800 ]
Fix Version/s 3.2.0.m2 [ 11780 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 31/Dec/12 07:58 PM
Status Resolved [ 5 ] Closed [ 6 ]