[nhusers] Re: Explanation of proxy behaviour with HQL queries

2009-04-27 Thread Graham Bunce
/bump Anybody? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googleg

[nhusers] Re: Explanation of proxy behaviour with HQL queries

2009-04-25 Thread Graham Bunce
Thanks for the response. I'm really trying to understand why NH is doing things. In my scenario I'm not trying to change anything about lazy loading. I don't have the exact mappings on this PC but, a pseudo mapping is ... ... etc. I load objectA via a Get (e.g. "Get(58)"). Whe

[nhusers] Re: Explanation of proxy behaviour with HQL queries

2009-04-25 Thread zoid
Hi Graham, i do not exactly understand what you want to achieve, but as far as i understand you want to get A with a filled List af Bs without changing the default lazy loading behavior. This can easily be done by overriding fetching strategy for this special Query like this: session.CreateCriter