My Oracle Support Banner

ODPU Execute Scalar/Reader Crashes While Executing REF_CURSOR From PLSQL Package (Doc ID 2877873.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Data Provider for .NET - Version 19.3.0.0.0 to 21.3.0.0.0 [Release 19.0 to 12.1]
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Symptoms

Application crashes when trying to read data using the ExecuteScalar Function which gets a REF_CURSOR objects from a plsql procedure.

A PL/SQL Procedure creates a REF_CURSOR Object and passes this REF_CURSOR from PLSQL to the client.
The ODP.Net Client uses the executescalar/executereader function to execute the PLSQL block and the returned REF_CURSOR object.

Below is the sample code. Issue is reproduced only in customer environment:

 

Changes

 DB upgraded to 19c

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.