Berkeley DB Reference Guide: Upgrading Berkeley DB Applications
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

### Berkeley DB Reference Guide: Upgrading Berkeley DB Applications |

# Release 3.0: 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.

Copyright Sleepycat Software