My Oracle Support Banner

Calling a Stored Function Returning a Ref Cursor Results in PLS-00306: Wrong Number or Types of Arguments (Doc ID 1574898.1)

Last updated on MAY 08, 2023

Applies to:

Oracle TopLink - Version 11.1.1.6.0 to 12.1.1.0 [Release Oracle11g to 12c]
Information in this document applies to any platform.

Symptoms

Calling a stored function which returns a ref cursor using StoredFunctionCall results in the following error:

in which we have a named association ("id=>?") prior to a positional association (the ? after the comma). As the above documentation mentions, it should be reordered.

Changes

 

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.