I had thought you guys had changed that to be lazy loading by default. I can't say that I completely agree with Ayende on this one, but I don't really care. It's one line of code in your PersistenceModel.Conventions either way.
Jeremy D. Miller The Shade Tree Developer jeremydmil...@yahoo.com ________________________________ From: Andrew Stewart <andrew.stew...@i-nnovate.net> To: fluent-nhibernate@googlegroups.com Sent: Thursday, December 11, 2008 3:49:33 PM Subject: [fluent-nhib] Re: Default lazy default value Hi Oren This is a legacy setting I vaguely remember from an earlier discussion that it's to do with the fact that fluent nhibernate was pulled out of jeremy's own code and he was using lazy load off by default - so it was kept that way for historical reasons. Is that correct Jeremy? Cheers Andy PS. I had the same opinion when I first saw it though, so know where your coming from. On Thu, Dec 11, 2008 at 9:14 PM, Ayende Rahien <aye...@ayende.com> wrote: Trying out NH Prof with fluent nhibernate gave me a heart attack today, as I saw a single statement translate into _many_ queries. Leaving aside the fact that I was very happy to find that NH Prof can detect that, I traced that down to DefaultLazyLoad being false by default. This is the wrong default, I believe, since we want to encourage more lazy load, not less, and it should match the NH defaults. -- ================= I-nnovate Software - Bespoke Software Development, uk wirral. http://www.i-nnovate.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---