My Oracle Support Banner

What causes ORA-01460 calling PL/SQL from OCCI with BLOB parameter? (Doc ID 1496599.1)

Last updated on MARCH 02, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

 When working with large files > 32k, an ORA-01460 is encountered with the sample application.

Changes

When passing a LOB as an IN parameter to a Stored Procedure with OCI usually a LobLocator is created,
populated with data, defined as a bind parameter and the statement executed.

With the OCCI API, temporary LOBs can not be created.  Instead stmt->setBinaryStreamMode is used for the LOB parameter.

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
Changes
Cause
Solution
References


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