something like this:
Find the session;
Check if it already got an alive transaction;
If NOT, Creates transaction - Set a internal Boolean variable to know that
transactions created by nHibernate
(maybe start an try/catch)
Load Entity Data;
Check that internal Boolean variable
if TRUE set transaction Commit()
(catch)
Check that internal Boolean variable
RollBack()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---