Issue Details (XML | Word | Printable)

Key: NUCCORE-1190
Type: Task Task
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

Change bytecode enhancement of copyKeyFieldsToObjectId to avoid use of JDOHelper

Created: 20/Apr/14 10:34 AM   Updated: 24/Apr/14 10:48 AM   Resolved: 20/Apr/14 10:36 AM
Component/s: Code Structure, Enhancer
Affects Version/s: None
Fix Version/s: 4.0.0.m3


 Description  « Hide
We are aiming to remove all references to JDO classes in the enhancement process. The only place where JDOHelper is used is for compound identity in the copyKeyFieldsToObjectId methods

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 20/Apr/14 10:36 AM
GitHub master makes the change from
JDOHelper.getObjectId(obj);

to
((PersistenceCapable)obj).jdoGetObjectId();

which is what the JDOHelper method would be doing anyway.