PLS-306 ORA-6550 Using Named Parameters and JDBC
(Doc ID 290110.1)
Last updated on MAY 15, 2023
Applies to:
JDBC - Version 9.2.0.1 and laterInformation in this document applies to any platform.
Symptoms
Using setXXX(string, string) with OracleCallableStatment, you may receive the following errors:
Exception in thread "main" java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'FOO2'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
For example, calling the following procedure, with the following code, will reproduce that error:
SQL code
========
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 |