David Freed wrote:Thank you so much for your advices, I really want to understand these relationships. I'm completely confused and tired now.
When I'm in doubt, I always have a look at the
Java Persistence Wikibook. It's really an excellent resource with tons of example mappings (both with annotation and xml).
Hope it helps!
Kind regards,
Roel