My Oracle Support Banner

A Cursor.getSearchBoth() Call with LockMode.READ_UNCOMMITTED Fails (Doc ID 549163.1)

Last updated on FEBRUARY 05, 2020

Applies to:

Berkeley DB - Version 4.6.21 and later
Information in this document applies to any platform.

Symptoms

In the Java API of Berkeley DB 4.6.21, a Cursor.getSearchBoth() call with LockMode.READ_UNCOMMITTED always fails. There is no deadlock in the environment. A stack trace similar to this one is outputted:

libdb46d!__bam_defcmp+0x76 
libdb46d!__bam_cmp+0xbb 
libdb46d!__bam_getboth_finddatum+0x105 
libdb46d!__bamc_get+0x27d 
libdb46d!__dbc_get+0x51b 
libdb46d!__dbc_pget+0x2d9 
libdb46d!__dbc_pget_pp+0x108 
libdb_java46d!Dbc_pget+0x20 
libdb_java46d!Java_com_sleepycat_db_internal_db_1javaJNI_Dbc_1pget+0x104 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.