Ok, thanks, that was what I thought.

Was just a little confused why the NHRepository / UnitOfWork used
FlushMode commit and the active record one used never :)

On Mon, Sep 29, 2008 at 11:18 PM, Ayende Rahien <[EMAIL PROTECTED]> wrote:
> This will ensure that you have to commit a transaction to save to the DB.
> That is important.
>
> On Mon, Sep 29, 2008 at 11:57 PM, Torkel Ödegaard
> <[EMAIL PROTECTED]> wrote:
>>
>> Why is the FlushMode set to Never (in ActiveRecordUnitOfWorkFactory).
>>
>> Changes are never persisted to the database unless you explicitly call
>> UnitOfWork.Current.Flush().
>>
>> Is there a reason for this?
>>
>> Cheers
>> Torkel
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" 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/rhino-tools-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to