Meaningless Drivel is fun!
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

Hibernate fetch size

anuja Edathu
Ranch Hand

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


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="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Hibernate fetch size
It's not a secret anymore!