Issue Details (XML | Word | Printable)

Key: NUCNEOFORJ-7
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Detect updates where relation field was changed, and delete old Relationship where necessary

Created: 30/Jul/12 10:39 AM   Updated: 31/Jul/12 10:02 AM   Resolved: 30/Jul/12 11:46 AM
Component/s: Persistence
Affects Version/s: None
Fix Version/s: 3.1.0.m1


 Description  « Hide
If we have a relation field (1-1, 1-N etc) and the related object(s) is changed, we need to find the old value (check the Relationships for the node for the field) and remove any that no longer exist.

Andy Jefferson added a comment - 30/Jul/12 11:46 AM
SVN trunk now handles this for 1-1/N-1-uni as well as for 1-N/M-N collections, removing any old Relationship object that is not applicable

Andy Jefferson made changes - 30/Jul/12 11:46 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.1.0.m1 [ 11635 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 31/Jul/12 10:02 AM
Status Resolved [ 5 ] Closed [ 6 ]