Forum Stats

  • 3,783,394 Users
  • 2,254,768 Discussions


How to create an in-doubt transaction?

10416 Member Posts: 32
I need to create/force an MSDTC in-doubt distributed transaction to verify that they are resolved automatically. The code successfully participates in the transaction via OraMTSSvcGet and OraMTSSvcEnlist and works as expected. I have tried creating in-doubt transactions via constraint violations, table locking, killing the application, killing the Oracle session, etc. but can't force an error between the first and second phase of the commit( which I think is the trick). Any ideas?

Message was edited by:
This discussion has been closed.