• 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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!