June 2001
Intermediate to advanced
688 pages
19h 18m
English
Does converting an application to run within XA change any of the already existing C/C++ API calls it does?
When converting an application to run under XA, the application’s Berkeley DB calls are unchanged, with two exceptions:
The application must use specify the DB_XA_CREATE flag to the db_create interface.
The application should never explicitly call txn_commit, txn_abort, or txn_begin because those calls are replaced by calls into the Tuxedo transaction manager. For the same reason, the application will always specify a transaction argument of NULL to the Berkeley DB functions that take transaction arguments (for example, DB→put or DB→cursor).
Otherwise, your application should be unchanged.
Is it possible to mix XA ...