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.

Reply via email to