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

If detach an object with 1-N/M-N relation, then attach it, it thinks the 1-N/M-N field is changed so marks it as dirty even if it hasn't

Created: 12/Mar/13 12:19 PM   Updated: 06/Apr/13 09:59 AM   Resolved: 12/Mar/13 02:35 PM
Component/s: Persistence
Affects Version/s: 1.1.6, 2.0.5, 2.1.4, 2.2.4, 3.0.11, 3.1.4, 3.2.0.release
Fix Version/s: 3.2.1


 Description  « Hide
Same as NUCCORE-1008 but for 1-N/M-N fields. The difference here is that the "dirtyFields" flag of a detached object won't know if the Collection/Map has been changed. For that we need to have a more detailed equality comparison for collections/maps allowing for one having detached and the other attached objects.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 12/Mar/13 02:35 PM
SVN trunk corrects this