Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate fetch size

 
anuja Edathu
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there any default fetch size for hibernate ? If my DB table contains 10000 records and i perform a select without any criteria will all the 10000 records be fetched @ the time itself ? Can i define the fetch size ? if so how ?

Thanks & Regards,
Anuja K
 
Sebastian Hennebrueder
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for fetchSize or batch fetching in the Hibernate Reference

Best Regards

Sebastian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic