wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Hibernate fetch size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate fetch size" Watch "Hibernate fetch size" New topic
Author

Hibernate fetch size

anuja Edathu
Ranch Hand

Joined: Sep 09, 2005
Posts: 84
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

Joined: Sep 09, 2004
Posts: 49
Search for fetchSize or batch fetching in the Hibernate Reference

Best Regards

Sebastian


Things get always more complicated as expected.<br />Author of eBook Hibernate 3 Developer Guide by example<br />Tutorials about Hibernate, EJB, Struts, JSF <a href="http://www.laliluna.de" target="_blank" rel="nofollow">www.laliluna.de</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate fetch size