I have an Address Entity with a FK to a Country Entity. The Country
entities are cached by the 2nd level cache, and that works perfect for
the second fetch when fetching (a list of) Address(es), but NHProf
will add a warning for select N+1 fetches ;-)

Are there any other options to optimize the first fetch? when i add
Prefetch Country, the 2nd level cache has no meaning, because the
countries are always fetch in the query..

Thanks

Marco
--~--~---------~--~----~------------~-------~--~----~
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