• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Session find vs iterate??

 
Vijay Kashyap
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I safely replace Session find calls with iterate? Find calls are taking a good chuck of time (which is obvious as each one of them make a subsequent call to database).

Is there any do and don't while using Session iterate.

Regards,
Vijay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic