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)

Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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.

Sort Order: Ascending order - Click to sort in descending order
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