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

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

Andy Jefferson made changes - 04/Feb/14 03:28 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.0.0.m1 [ 12081 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 12/Feb/14 02:38 PM
Status Resolved [ 5 ] Closed [ 6 ]