<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Endless circular relation in 1:n relation correct?</title><link>https://answers.axonivy.com/questions/643/endless-circular-relation-in-1-n-relation-correct</link><description>&lt;p&gt;I've a 1:n relation defined using the persistence api. One customer has n delivery adresses. In the history object this appears as customer object who has a list of delivery addresses. Those delivery addresses themself also have a customer attached and that customer a list of delivery addresses and so on and so forth. While this is semantically correct im wondering if I did something wrong or is this correct?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/643/endless-circular-relation-in-1-n-relation-correct" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 17 Apr 2014 16:16:07 -0400</lastBuildDate><item><title>Answer by Peter Stöckli</title><link>https://answers.axonivy.com/questions/643/endless-circular-relation-in-1-n-relation-correct/647</link><description>&lt;p&gt;I agree that this may look funny, but it is correct. (It's a bidirectional Relationship in Hibernate) To have a code level look at it you can catch a glimpse at the generated dataClasses in the &lt;code&gt;src_dataClasses/&lt;/code&gt; folder.&lt;/p&gt;
&lt;p&gt;Also have a look at &lt;a href="https://stackoverflow.com/questions/2584521/in-a-bidirectional-jpa-onetomany-manytoone-association-what-is-meant-by-the-in"&gt;this answer&lt;/a&gt; on StackOverflow.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Stöckli</dc:creator><pubDate>Thu, 17 Apr 2014 16:16:07 -0400</pubDate><guid>https://answers.axonivy.com/questions/643/endless-circular-relation-in-1-n-relation-correct/647</guid></item></channel></rss>