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-678
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

SM.setObjectField() should not be called by DN internals

Created: 14/Mar/11 09:11 AM   Updated: 01/Apr/11 03:24 PM   Resolved: 14/Mar/11 09:12 AM
Component/s: Code Structure
Affects Version/s: None
Fix Version/s: 3.0.0.m3

 Description  « Hide
setObjectField is only for calling from enhanced classes as part of the enhancement contract to inform the SM that a field has been updated. Should always call SM.replaceFieldMakeDirty() instead of calling SM.setObjectField().

Andy Jefferson added a comment - 14/Mar/11 09:12 AM
SVN trunk fixes this and removes the method from ObjectProvider

Andy Jefferson made changes - 14/Mar/11 09:12 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Apr/11 03:24 PM
Status Resolved [ 5 ] Closed [ 6 ]