How to use the ODBC driver in an XA context

Copper Contributor

I already asked a question in a previous conversation (https://techcommunity.microsoft.com/t5/sql-server/odbc-driver-17-3-preview-for-sql-server-released/b...), but since it is bit old it didn't get any attention, so I'm trying to write it here again and copying the text from the previous post


What are the means to facilitate the XA support for other TM's than MSDTC (if that even counts as a TM) ?

I guess you should be able to use the xaswitch.lib to build your own resource proxy that you use with a XA-compliant TM and configure things with OPENINFO, but how do you get hold of the connection-object (possibly created by xa_open()) ?

Is it even possible ?

Best regards,
Kristian

0 Replies