SDN still just uses one relationship in the graph even if you define the object rel on both sides.
So it depends on your use-case how you develop your model. You probably don't add unnecessary rels. Sent from mobile device Am 13.05.2014 um 14:23 schrieb Jason Kolb <[email protected]>: > Hi, I apologize if this has been asked before, but I couldn't find any topics > that sounded the same. > > When modeling relationships in Java (specifically using Spring and > annotations), what is the best practice? I see you can can define the > relationship from both sides, so that, for example, a customer has orders, > and each order has a customer. In order to be able to traverse the graph > would you pretty much always define both sides of that relationship, or are > there scenarios where you'd only want to define one side? > > Thanks for your advice! > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
