My Oracle Support Banner

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 10.1.0.2 to 10.2.0.4 [Release 10.1 to 10.2]
Information in this document applies to any platform.

Symptoms

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);
procout.execute();
...

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
Cause
Solution

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