Debian Codegraph @

docs/upgrading/upgrade_3_0_xa.html

raw symbols SCIP
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>db_xa_open</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB Upgrade Guide" />
10 <link rel="up" href="upgrade_3_0_toc.html" title="Chapter 14. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0" />
11 <link rel="prev" href="upgrade_3_0_open.html" title="database open/close" />
12 <link rel="next" href="upgrade_3_0_db.html" title="DB structure" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">db_xa_open</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="upgrade_3_0_open.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 14. Upgrading Berkeley DB 2.X applications to Berkeley DB 3.0</th>
26 <td width="20%" align="right"> <a accesskey="n" href="upgrade_3_0_db.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="upgrade_3_0_xa"></a>db_xa_open</h2>
36 </div>
37 </div>
38 </div>
39 <p>The following change applies only to applications using Berkeley DB as an XA
40 Resource Manager. If your application is not using Berkeley DB in this way,
41 you can ignore this change.</p>
42 <p>The db_xa_open function has been replaced with the
43 <code class="literal">DB_XA_CREATE</code> flag to the <a href="../api_reference/C/dbcreate.html" class="olink">db_create()</a> function. All calls to db_xa_open should
44 be replaced with calls to <a href="../api_reference/C/dbcreate.html" class="olink">db_create()</a> with the <code class="literal">DB_XA_CREATE</code> flag
45 set, followed by a call to the <a href="../api_reference/C/dbopen.html" class="olink">DB-&gt;open()</a> function.</p>
46 <p>A similar change has been made for the C++ API, where the
47 <code class="literal">DB_XA_CREATE</code> flag should be specified to the Db constructor. All
48 calls to the Db::xa_open method should be replaced with the
49 <code class="literal">DB_XA_CREATE</code> flag to the Db constructor, followed by a call to
50 the DB::open method.</p>
51 </div>
52 <div class="navfooter">
53 <hr />
54 <table width="100%" summary="Navigation footer">
55 <tr>
56 <td width="40%" align="left"><a accesskey="p" href="upgrade_3_0_open.html">Prev</a> </td>
57 <td width="20%" align="center">
58 <a accesskey="u" href="upgrade_3_0_toc.html">Up</a>
59 </td>
60 <td width="40%" align="right"> <a accesskey="n" href="upgrade_3_0_db.html">Next</a></td>
61 </tr>
62 <tr>
63 <td width="40%" align="left" valign="top">database open/close </td>
64 <td width="20%" align="center">
65 <a accesskey="h" href="index.html">Home</a>
66 </td>
67 <td width="40%" align="right" valign="top"> DB structure</td>
68 </tr>
69 </table>
70 </div>
71 </body>
72 </html>