Hello,

Just looking for some clarification on how I should expect nhibernate
to behave.

Should save or merge generate an insert statement if the session is
not flushed? (ie in a transaction where the FlushMode is set to Never
and you also don't explicitly flush the session).

I realise that it would have to if you were using a sql server
identity column (because it needs to go straight to the database to
get it). However, I assumed it wouldn't if you were using a different
type of primary key such as an assigned GUID?

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