@param txn To use a cursor for writing to a transactional database, an explicit transaction must be specified. For read-only access to a transactional database, the transaction may be null. For a non-transactional database, the transaction must be null.
To transaction-protect cursor operations, cursors must be opened and closed within the context of a transaction, and the txn parameter specifies the transaction context in which the cursor will be used.
@param config The cursor attributes. If null, default attributes are used.
@return A database cursor.
@throws DatabaseException if a failure occurs.
SecondaryCursor
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|