Issue Details (XML | Word | Printable)

Key: NUCCORE-1113
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
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

Improve efficiency of identity lookups to find class name that it equates to

Created: 29/Jan/14 07:13 PM   Updated: 12/Feb/14 02:38 PM   Resolved: 04/Feb/14 03:28 PM
Component/s: Code Structure, MetaData
Affects Version/s: None
Fix Version/s: 4.0.0.m1


 Description  « Hide
There are times where a user is calling pm.getObjectById/em.find and the "id" could only possibly be for a single concrete class. In that case we should have an efficient mechanism to return the type without ever going near the StoreManager. This is called from ExecutionContextImpl.getClassDetailsForId

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 04/Feb/14 03:28 PM
GitHub master has a lookup of available concrete classes for an id, so short-circuits the lookup under some situations