This is useful when an application is using locking and requires two or more cursors in the same thread of control.
@param samePosition If true, the newly created cursor is initialized to refer to the same position in the database as the original cursor (if any) and hold the same locks (if any). If false, or the original cursor does not hold a database position and locks, the returned cursor is uninitialized and will behave like a newly created cursor.
@return A new cursor with the same transaction and locker ID as the original cursor.
@throws DatabaseException if a failure occurs.
|
|