1<!--$Id: dbc_class.so,v 10.19 2004/08/13 03:38:56 bostic Exp $--> 2<!--Copyright (c) 1997,2008 Oracle. All rights reserved.--> 3<!--See the file LICENSE for redistribution information.--> 4<html> 5<head> 6<title>Berkeley DB: Dbc</title> 7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit."> 8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++"> 9</head> 10<body bgcolor=white> 11<table width="100%"><tr valign=top> 12<td> 13<b>Dbc</b> 14</td> 15<td align=right> 16<a href="../api_cxx/api_core.html"><img src="../images/api.gif" alt="API"></a> 17<a href="../ref/toc.html"><img src="../images/ref.gif" alt="Ref"></a></td> 18</tr></table> 19<hr size=1 noshade> 20<tt> 21<b><pre> 22#include <db_cxx.h> 23<p> 24class Dbc { ... }; 25</pre></b> 26<hr size=1 noshade> 27<b>Description: Dbc</b> 28<p>The Dbc object is the handle for a cursor into a Berkeley DB database. 29The handle is not free-threaded. Cursor handles may be used by multiple 30threads, but only serially, that is, the application must serialize 31access to the Dbc handle.</p> 32<p>If the cursor is to be used to perform operations on behalf of a 33transaction, the cursor must be opened and closed within the context of 34that single transaction. Once <a href="../api_cxx/dbc_close.html">Dbc::close</a> has been called, the 35handle may not be accessed again, regardless of the method's return.</p> 36</tt> 37<table width="100%"><tr><td><br></td><td align=right> 38<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> 39</td></tr></table> 40<p><font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 41</body> 42</html> 43