views:

58

answers:

1

I have a .NET project (Test project) in VS2008 and am doing some unit tests for the data in DB2. I am finding that the tests are not transactional and I have to phyiscally go and delete the data or run a function to clean the data before I run the test even though I am using ITransaction. Can any one point why?

A: 

I am not sure about the .net environment. The default is commit and if you do not want to save the changes, you would have to explicitly rollback the transaction.

kishore
Even when transaction in .net is rolled back, the values commited in DB2....
chugh97