I start a transaction and I modify some collections based on user
security. I have no intention of making these changes permanent, just
in the context of the user they're not allowed access to those items.
I never do a SaveOrUpdate() on the object with the collection or any
of the items in it. Basically I'm expecting only 1 insert to happen in
this transaction but since I modified those collections when I commit
the transaction those changes get pushed into the database.

Why is NHibernate updating records that I never told it to make
permanent?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to