or you can configure the child elements to be selected in batch
<set name=... batchSize="50">
...
</set>
session.queryover<parent>().where(...).skip(x).take(4).future<parent>().
then let the children lazy load in batches of 50 parents.
this is also a good option because you are not loading Cartesian record 
sets, you avoid the select n+1, and the query is relatively simple.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/Upm3CuLiS8MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to