java.sql.SQLException: invalid name pattern.: DBMS_SQL.VARCHAR2S When Passing an Array Which Maps to a PL/SQL Table

(Doc ID 2331514.1)

Last updated on NOVEMBER 27, 2017

Applies to:

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

Symptoms

When passing an array from Java which maps to a PL/SQL table in Oracle, an error occurs like the following:

java.sql.SQLException: invalid name pattern.: DBMS_SQL.VARCHAR2S

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms