SDO_NN Query with SDO_BATCH_SIZE=0 Fails with ORA-22165

(Doc ID 1382672.1)

Last updated on MAY 28, 2012

Applies to:

Oracle Spatial - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

SDO_NN query with SDO_BATCH_SIZE=0 fails with the error below:

ERROR at line 1:
ORA-29903: error in executing ODCIIndexFetch() routine
ORA-22165: given index [32767] must be in the range of [0] to [32766]

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms