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

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

Calling PC.setXXX with SCO type field is not wrapping the field value

Created: 20/Nov/10 11:23 AM   Updated: 01/Apr/11 03:24 PM   Resolved: 14/Mar/11 10:35 AM
Component/s: Java Types
Affects Version/s: 2.1.0.release, 2.1.1, 2.1.2, 2.1.3, 2.2.0.m1, 2.2.0.m2, 2.2.0.m3
Fix Version/s: 3.0.0.m3

 Description  « Hide
If we do something like this


Container cont = (Container)pm.getObjectById(id);

// cont.getElements() returns java.util.HashSet instead of wrapper

This can mean that subsequent updates are missed. Any SCO field should be wrapped on calling setXXX

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 14/Mar/11 10:35 AM
SVN trunk implements this