Xa transaction and MS DTC
I'm studying how xa transaction works and how NS DTC works.
I'd like to have one more information about them.
Windows documentation says about managing transactions, that "an XID corresponding to a OLE Transaction has the formatID field set to
0x00445443, the gtrid_length field set to 16, and a the first 16 bytes
of the data field set to the UOW" What happens if the XID is set by user? Is it truncated by MS DTC? Thank you!So, if XA transaction uses XID with the following structure:
struct xid_t
{
long formatID; /* format identifier */
long gtrid_length; /* value not to exceed 64 */
long bqual_length; /* value not to exceed 64 */
char data[128];
}
it means that the branch id (bqual) is not used. Is it true or is there the
possibility to set it?

