Hello,

I'm wondering if there is an extensibility point in NHibernate that would 
allow me to force some collections to be eagerly-loaded FetchMany-style 
(via JOINs)? While I do have CollectionLazy set to NoLazy, my collections 
are still loaded in separate trips to the database, which is not very 
scaleable beyond a few dozen entites. FetchMany works a treat, but there 
are places where I would prefer not to have code with NHibernate-specific 
calls. I was thinking along the lines of session interceptors, query 
translators, custom visitors, etc. Had a brief look at the codebase but not 
too sure where and what to look for. 

(Would I be correct to say that a LINQ query is later translated into HQL, 
and therefore it would be best to transform the HQL rather than just the 
LINQ expression to have maximum coverage — both LINQ and HQL queries?)

Regards,
Dawid Ciecierski

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to