• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/docs/gsg_txn/CXX/
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6    <title>Preface</title>
7    <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8    <meta name="generator" content="DocBook XSL Stylesheets V1.62.4" />
9    <link rel="home" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
10    <link rel="up" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
11    <link rel="previous" href="index.html" title="Getting Started with Berkeley DB Transaction Processing" />
12    <link rel="next" href="introduction.html" title="Chapter��1.��Introduction" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">Preface</th>
19        </tr>
20        <tr>
21          <td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td>
22          <th width="60%" align="center">��</th>
23          <td width="20%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td>
24        </tr>
25      </table>
26      <hr />
27    </div>
28    <div class="preface" lang="en" xml:lang="en">
29      <div class="titlepage">
30        <div>
31          <div>
32            <h2 class="title"><a id="preface"></a>Preface</h2>
33          </div>
34        </div>
35        <div></div>
36      </div>
37      <div class="toc">
38        <p>
39          <b>Table of Contents</b>
40        </p>
41        <dl>
42          <dt>
43            <span class="sect1">
44              <a href="preface.html#conventions">Conventions Used in this Book</a>
45            </span>
46          </dt>
47          <dd>
48            <dl>
49              <dt>
50                <span class="sect2">
51                  <a href="preface.html#moreinfo">For More Information</a>
52                </span>
53              </dt>
54            </dl>
55          </dd>
56        </dl>
57      </div>
58      <p>
59        This document describes how to use transactions with your Berkeley DB
60        applications. It is intended to describe how to
61        transaction protect your application's data. The APIs used to perform this task
62        are described here, as are the environment infrastructure and administrative tasks
63        required by a transactional application. This book also
64        describes multi-threaded <span>and
65        multi-process</span> DB applications and the requirements they
66        have for deadlock detection.
67    </p>
68      <p>
69        This book is aimed at the software engineer responsible for writing a
70        transactional DB application.
71    </p>
72      <p>
73        This book assumes that you have already read and understood the
74        concepts contained in the
75        <span><i class="citetitle">Getting Started with Berkeley DB</i>
76        guide.</span>
77        
78        
79     </p>
80      <div class="sect1" lang="en" xml:lang="en">
81        <div class="titlepage">
82          <div>
83            <div>
84              <h2 class="title" style="clear: both"><a id="conventions"></a>Conventions Used in this Book</h2>
85            </div>
86          </div>
87          <div></div>
88        </div>
89        <p>
90        The following typographical conventions are used within in this manual:
91    </p>
92        <p>
93        Class names are represented in <tt class="classname">monospaced font</tt>, as are <tt class="methodname">method
94        names</tt>. For example: 
95        
96        
97
98        
99
100        <span>"<tt class="methodname">DbEnv::open()</tt> is a 
101		<tt class="classname">DbEnv</tt> class method."</span>
102    </p>
103        <p>
104        Variable or non-literal text is presented in <span class="emphasis"><em>italics</em></span>. For example: "Go to your
105        <span class="emphasis"><em>DB_INSTALL</em></span> directory."
106    </p>
107        <p>
108        Program examples are displayed in a <tt class="classname">monospaced font</tt> on a shaded background.
109        For example:
110    </p>
111        <pre class="programlisting">typedef struct vendor {
112    char name[MAXFIELD];             // Vendor name
113    char street[MAXFIELD];           // Street name and number
114    char city[MAXFIELD];             // City
115    char state[3];                   // Two-digit US state code
116    char zipcode[6];                 // US zipcode
117    char phone_number[13];           // Vendor phone number
118} VENDOR; </pre>
119        <p>
120        In some situations, programming examples are updated from one chapter to the next. When
121        this occurs, the new code is presented in <b class="userinput"><tt>monospaced bold</tt></b> font. For example:
122    </p>
123        <pre class="programlisting">typedef struct vendor {
124    char name[MAXFIELD];             // Vendor name
125    char street[MAXFIELD];           // Street name and number
126    char city[MAXFIELD];             // City
127    char state[3];                   // Two-digit US state code
128    char zipcode[6];                 // US zipcode
129    char phone_number[13];           // Vendor phone number
130    <b class="userinput"><tt>char sales_rep[MAXFIELD];        // Name of sales representative
131    char sales_rep_phone[MAXFIELD];  // Sales rep's phone number </tt></b>
132} VENDOR; </pre>
133        <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
134          <h3 class="title">Note</h3>
135          <p>
136            Finally, notes of special interest are represented using a note block such
137            as this.
138        </p>
139        </div>
140        <div class="sect2" lang="en" xml:lang="en">
141          <div class="titlepage">
142            <div>
143              <div>
144                <h3 class="title"><a id="moreinfo"></a>For More Information</h3>
145              </div>
146            </div>
147            <div></div>
148          </div>
149          <p>
150            Beyond this manual, you may also find the following sources of information useful when building a
151            transactional DB application:
152        </p>
153          <div class="itemizedlist">
154            <ul type="disc">
155              <li>
156                <p>
157                    
158                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg/CXX/index.html" target="_top">
159                        Getting Started with Berkeley DB for C++
160                    </a>
161                     
162
163
164                     
165                     
166                     
167                </p>
168              </li>
169              <li>
170                <p>
171                        
172                        <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/gsg_db_rep/CXX/index.html" target="_top">
173                                Berkeley DB Getting Started with Replicated Applications for C++
174                        </a>
175                        
176                </p>
177              </li>
178              <li>
179                <p>
180                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html" target="_top">
181                        Berkeley DB Programmer's Reference Guide
182                    </a>
183                </p>
184              </li>
185              <li>
186                <p>
187                    
188                    <a href="http://www.oracle.com/technology/documentation/berkeley-db/db/api_cxx/frame.html" target="_top">
189                        Berkeley DB C++ API
190                    </a>
191                    
192
193                    
194                </p>
195              </li>
196            </ul>
197          </div>
198        </div>
199      </div>
200    </div>
201    <div class="navfooter">
202      <hr />
203      <table width="100%" summary="Navigation footer">
204        <tr>
205          <td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a>��</td>
206          <td width="20%" align="center">
207            <a accesskey="u" href="index.html">Up</a>
208          </td>
209          <td width="40%" align="right">��<a accesskey="n" href="introduction.html">Next</a></td>
210        </tr>
211        <tr>
212          <td width="40%" align="left" valign="top">Getting Started with Berkeley DB Transaction Processing��</td>
213          <td width="20%" align="center">
214            <a accesskey="h" href="index.html">Home</a>
215          </td>
216          <td width="40%" align="right" valign="top">��Chapter��1.��Introduction</td>
217        </tr>
218      </table>
219    </div>
220  </body>
221</html>
222