2009/6/29 Jason Meckley <[email protected]>

>
> the updates happen at flush because this is how NH works. up until you
> flush the session NH is simply tracking changes. it's not actually
> making changes (that's not entirely true depending on the PK
> generator).


Partially true; for some reason do anything inside a transaction is strongly
recommended.
NH has AutoFlush mode and the FlushMode.Auto is the default so... NH may
decide to flush a session before upload a collection or before execute a
query.

-- 
Fabio Maulo

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