Preface

Table of Contents

Conventions Used in this Book
For More Information
Contact Us

This document describes how to use transactions with your Berkeley DB XML applications. It is intended to describe how to transaction protect your application's data. The APIs used to perform this task are described here, as are the environment infrastructure and administrative tasks required by a transactional application. This book also describes multi-threaded BDB XML applications and the requirements they have for deadlock detection.

This book describes Berkeley DB XML version 12c Release 1

This book is aimed at the software engineer responsible for writing a transactional BDB XML application.

This book assumes that you have already read and understood the concepts contained in the Getting Started with Berkeley DB XML guide.

Conventions Used in this Book

The following typographical conventions are used within in this manual:

Class names are represented in monospaced font, as are method names. For example: "DbEnv::open() is a DbEnv class method."

Structure names are represented in monospaced font, as are method names. For example: "DB->open() is a method on a DB handle."

Variable or non-literal text is presented in italics. For example: "Go to your DBXML_INSTALL directory."

Program examples are displayed in a monospaced font on a shaded background. For example:

typedef struct vendor {
    char name[MAXFIELD];             // Vendor name
    char street[MAXFIELD];           // Street name and number
    char city[MAXFIELD];             // City
    char state[3];                   // Two-digit US state code
    char zipcode[6];                 // US zipcode
    char phone_number[13];           // Vendor phone number
} VENDOR; 

In some situations, programming examples are updated from one chapter to the next. When this occurs, the new code is presented in monospaced bold font. For example:

typedef struct vendor {
    char name[MAXFIELD];             // Vendor name
    char street[MAXFIELD];           // Street name and number
    char city[MAXFIELD];             // City
    char state[3];                   // Two-digit US state code
    char zipcode[6];                 // US zipcode
    char phone_number[13];           // Vendor phone number
    char sales_rep[MAXFIELD];        // Name of sales representative
    char sales_rep_phone[MAXFIELD];  // Sales rep's phone number 
} VENDOR; 

Note

Finally, notes of special interest are represented using a note block such as this.