The main reason is performance.
The parent object has a collection of more than 10 000 child objects
and it is very long to load.
Most of the time, I just need to load a small part of the collection
but sometimes, I must load the all collection.


On 29 juin, 03:30, dummerchen <[email protected]> wrote:
> If this is the only reason why you want to use a custom sql for
> collection loading, try hibernate filter instead:
>
> http://nhforge.org/doc/nh/en/index.html#filters
>
> They provide a very powerful interface for dynamic collection loading.
>
> --
> Wolfgang
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
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