I have to amend my previous answer : you should not rely on session dispose 
to rollback your transaction, but on transaction dispose (as written by 
Oskar by the way).
Disposing the session would "close" the underlying connection, but then you 
may depend on pooling mechanisms to check for pending transaction and 
roll-backing prior to returning the connection to pool. So better simply 
explicitly dispose your transactions anyway.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to