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? asked 17.04.2014 at 08:43 Nikel Weis |
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 Also have a look at this answer on StackOverflow. answered 17.04.2014 at 16:16 Peter Stöckli ♦ Thanks for the link. :)
(17.04.2014 at 16:17)
Nikel Weis
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 17.04.2014 at 08:43
Seen: 2,320 times
Last updated: 17.04.2014 at 16:17