I am using OpenJPA and right now, I have defined all the relationships(One-To-Many etc relationships) in my code. My Table1 Pojo class basically has this:
and using the xyz set, I am able to get Table2's instances and properties values of each instance. I am wondering now, why would I need to do join and all if I able to get the values this way? Please advice.