Hi,
After googling around, I've found surprisingly little info on how paging works within Hibernate. I mean.. how to use it is very cut and dry, but I would like to know more about what it's doing.
There are two possibilities that I see..
1) Hibernate makes a normal query but only loads those objects in the specified page
2) Hibernate modifies the query to only return records for the specified page
I guess I could take a look at the actual queries sent.. but if option 2 is used then I quess this would be very database specific, and might not even apply for all databases.
Any insights available?
Thanks.
|