Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OpenJPA Joins vs Mappings

 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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.

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic