Error ORA-03115 When Calling a PL/SQL Function Which Returns an Array

(Doc ID 419154.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

JDBC - Version to [Release 10.1 to 10.2]
Information in this document applies to any platform.


When calling a stored procedure that returns an array, the following error is thrown:

ORA-03115: unsupported network datatype or representation

Here is the code that causes the error to occur:

Connection conn=null;
conn = DriverManager.getConnection (dbconnection, dbuser,dbpasswd);
OracleCallableStatement procout = (OracleCallableStatement)
conn.prepareCall ("begin ? := testarray.get_array(); end;" );
// register the return value
procout.registerOutParameter (1, Types.ARRAY);


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