If an error occurs should I call Rollback transaction and then throw
away the session? Reason I ask is I am seeing the following:

1: Create New Session
2: Begin Transaction
3: SaveOrUpdate(entity)
4: Commit Transaction throws an error
5: I call Rollback transaction
6: Exception thrown when checking for ZombiedTransactions

Looks like the connection on the transaction is being nulled out
somewhere. So if I'm inside a transaction do I only call Rollback when
I want to explicitly roll back?
--~--~---------~--~----~------------~-------~--~----~
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