Chapter 14. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0

Table of Contents

introduction
environment open/close/unlink
function arguments
DB_ENV structure
database open/close
db_xa_open
DB structure
DBINFO structure
DB->join
DB->stat
DB->sync and DB->close
lock_put
lock_detect
lock_stat
log_register
log_stat
memp_stat
txn_begin
txn_commit
txn_stat
DB_RMW
DB_LOCK_NOTHELD
EAGAIN
EACCES
db_jump_set
db_value_set
DbEnv class for C++ and Java
Db class for C++ and Java
additional C++ changes
additional Java changes
Upgrade Requirements

introduction

The following pages describe how to upgrade applications coded against the Berkeley DB 2.X release interfaces to the Berkeley DB 3.0 release interfaces. This information does not describe how to upgrade Berkeley DB 1.85 release applications.