Hi Dietrich,

Thanks for the reply

> I would advise (if you don't have it) getting NH Profiler and running that
> to investigate what NHibernate is doing with your SQL server.

I have seen it generating the insert when I call merge in this
scenario, however I would not expect it to. Thats why I was looking
for some clarification. I want to make sure I'm not trying to do
something that (according to nhibernate's design) is not possible.

> I have always noticed merge, save, and delete running the sql statement on
> call. If you call them within the scope of a transaction, however, you can
> always roll back the transaction to negate the changes.

Good point, but in this case I don't really want to roll back the
transaction, just merge an object with the current session.

regards,
Jordan.

-- 
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