Issue Details (XML | Word | Printable)

Key: NUCNEOFORJ-21
Type: Improvement Improvement
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

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

Andy Jefferson added a comment - 01/Aug/12 08:58 AM
SVN trunk fixes this

Andy Jefferson made changes - 01/Aug/12 08:58 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.1.0.m2 [ 11637 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 02/Aug/12 03:08 PM
Status Resolved [ 5 ] Closed [ 6 ]