Library Version 12.1.6.1

db_xa_open
Prev | Chapter 14. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0 | Next

## db_xa_open

The following change applies only to applications using Berkeley DB as an XA Resource Manager. If your application is not using Berkeley DB in this way, you can ignore this change.

The db_xa_open function has been replaced with the `DB_XA_CREATE` flag to the db_create() function. All calls to db_xa_open should be replaced with calls to db_create() with the `DB_XA_CREATE` flag set, followed by a call to the DB->open() function.

A similar change has been made for the C++ API, where the `DB_XA_CREATE` flag should be specified to the Db constructor. All calls to the Db::xa_open method should be replaced with the `DB_XA_CREATE` flag to the Db constructor, followed by a call to the DB::open method.

Prev | Up | Next
database open/close | Home | DB structure