My Oracle Support Banner

PLS-306 ORA-6550 Using Named Parameters and JDBC (Doc ID 290110.1)

Last updated on MARCH 15, 2022

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


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




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

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