I'm no expert in this topic, but when I had to do something similar
(bulk insert/updates) I skipped NHibernate altogether.

On Sun, Jul 24, 2011 at 12:10 AM, Yorik <[email protected]> wrote:
> In my C# application using CastleProject ActiveRecord 2.1 I am saving
> tens of thousands email into database. These emails are created once
> and are not changed. However, when I save them, it takes very much
> time for nhibernate to do dirty check because it looks like it
> compares emails attachments byte by byte. But I do not need any dirty
> checks!
>
> My question is it possible to switch off dirty checks for regular
> SessionScope? If not, how can I use StatelessSessionScope? I tried to
> google for help but there is no single sample for
> StatelessSessionScope, no documentation at all, only commits comments
> found! How come?
>
> I also put some details here:
> http://stackoverflow.com/questions/6803247/nhibernate-isupdatenecessary-takes-enormous-amount-of-time
> (particularly, screenshot of what's going inside my save operation).
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Development List" 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/castle-project-devel?hl=en.
>
>



-- 
Cheers,
hammett
http://hammett.castleproject.org/

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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/castle-project-devel?hl=en.

Reply via email to