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

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.

Andy Jefferson added a comment - 12/Mar/13 02:35 PM
SVN trunk corrects this

Andy Jefferson made changes - 12/Mar/13 02:35 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.2.1 [ 11914 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 06/Apr/13 09:59 AM
Status Resolved [ 5 ] Closed [ 6 ]