43 lines
1.7 KiB
HTML
43 lines
1.7 KiB
HTML
<!--$Id: dbc_class.html 63573 2008-05-23 21:43:21Z trent.nelson $-->
|
|
<!--Copyright (c) 1997,2008 Oracle. All rights reserved.-->
|
|
<!--See the file LICENSE for redistribution information.-->
|
|
<html>
|
|
<head>
|
|
<title>Berkeley DB: Dbc</title>
|
|
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
|
|
<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
|
|
</head>
|
|
<body bgcolor=white>
|
|
<table width="100%"><tr valign=top>
|
|
<td>
|
|
<b>Dbc</b>
|
|
</td>
|
|
<td align=right>
|
|
<a href="../api_cxx/api_core.html"><img src="../images/api.gif" alt="API"></a>
|
|
<a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a></td>
|
|
</tr></table>
|
|
<hr size=1 noshade>
|
|
<tt>
|
|
<b><pre>
|
|
#include <db_cxx.h>
|
|
<p>
|
|
class Dbc { ... };
|
|
</pre></b>
|
|
<hr size=1 noshade>
|
|
<b>Description: Dbc</b>
|
|
<p>The Dbc object is the handle for a cursor into a Berkeley DB database.
|
|
The handle is not free-threaded. Cursor handles may be used by multiple
|
|
threads, but only serially, that is, the application must serialize
|
|
access to the Dbc handle.</p>
|
|
<p>If the cursor is to be used to perform operations on behalf of a
|
|
transaction, the cursor must be opened and closed within the context of
|
|
that single transaction. Once <a href="../api_cxx/dbc_close.html">Dbc::close</a> has been called, the
|
|
handle may not be accessed again, regardless of the method's return.</p>
|
|
</tt>
|
|
<table width="100%"><tr><td><br></td><td align=right>
|
|
<a href="../api_cxx/api_core.html"><img src="../images/api.gif" alt="API"></a><a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a>
|
|
</td></tr></table>
|
|
<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font>
|
|
</body>
|
|
</html>
|