I recently upgraded from NH 2.0.1 to NH 2.1. We are using DB2 as our
database. Since our upgrade, we frequently get the following error on
queries that are performed outside a transaction (TransactionScope):

NHibernate.ADOException: could not execute query
[ ... <the query string> ... ]
Positional parameters:  #0>...
[SQL: <the query string> ] ---->
IBM.Data.DB2.DB2NotInTransactionException: Not in a transaction ERROR
[58005] [IBM][DB2] SQL0998N  Error occurred during transaction or
heuristic processing.  Reason Code = "15". Subcode = "".
SQLSTATE=58005

When putting the query inside the TransactionScope, everything works
fine. Any thoughts?
--~--~---------~--~----~------------~-------~--~----~
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