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: Improvement Improvement
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

When storing Relationship put field names of both sides if bidir to avoid problems with clashing names

Created: 01/Aug/12 08:57 AM   Updated: 02/Aug/12 03:08 PM   Resolved: 01/Aug/12 08:58 AM
Component/s: Persistence
Affects Version/s: None
Fix Version/s: 3.1.0.m2

 Description  « Hide
If we have a class and it has relations to it (i.e non-owner), currently if it has relations from two different classes but with the same originating field name then we can find the wrong relation. Instead if we store the field name of the non-owner side too (when bidir) then we simply search for the non-owner name in that case and get the right related Node

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 01/Aug/12 08:58 AM
SVN trunk fixes this