• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to avoid duplicate select

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we have a deep relationship in hibernate(ie. parent-child-child-child..)
What to do for avoiding duplicate select while fetching data?
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the best solution is to select Parent by setting lazy="true"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic