I guess that's unanimous then. I'll fix this asap.

On Fri, Dec 12, 2008 at 6:21 AM, Gabriel Schenker <gnschen...@gmail.com>wrote:

> +1 for consistency with NH
>
>
> On Thu, Dec 11, 2008 at 11:29 PM, Chad Myers <c...@chadmyers.com> wrote:
>
>> It was hard-coded in the template and not able to be changed by users.
>>
>> I recently added the ability from the Conventions to change this, but it's
>> still =false by default to preserve compat for existing FluNHib users.
>>
>> I'm in favor of making it to be in line with NHibernate
>> (default-lazy=true) for consistency.  I doubt too many people will be
>> affected negatively by this and the fix is extremely easy.
>>
>> Vote + 1 for making it consistent with NHibernate by default.
>>
>> -c
>>
>> ________________________________
>>
>> From: fluent-nhibernate@googlegroups.com on behalf of Andrew Stewart
>> Sent: Thu 12/11/2008 4:11 PM
>> To: fluent-nhibernate@googlegroups.com
>> Subject: [fluent-nhib] Re: Default lazy default value
>>
>>
>> Hi Jeremy
>>
>> I thought I'd remembered that being changed but was never sure why it
>> wasn't.
>>
>> Andy
>>
>>
>>
>>
>> On Thu, Dec 11, 2008 at 9:59 PM, Jeremy D. Miller <
>> jeremydmil...@yahoo.com> wrote:
>>
>>
>>        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 <
>> http://codebetter.com/blogs/jeremy.miller>
>>         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 <http://www.i-nnovate.net/>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> =================
>> I-nnovate Software - Bespoke Software Development, uk wirral.
>> http://www.i-nnovate.net <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to