Oracle 12c: DeriveParameters Fails With "Unsupported PL/SQL Datatype" (Doc ID 1638202.1)

Last updated on JULY 15, 2014

Applies to:

Oracle Data Provider for .NET - Version 11.2.0.4 and later
Information in this document applies to any platform.

Symptoms

ODP.Net application uses OracleCommandBuilder.DeriveParameters method to execute stored procedures which has  XMLTYPE as parameters. it fails with

"Unsupported PL/SQL datatype at parameter position n" error. Where n is the position of the parameter of XMLTYPE

This is only reproducible with 11.2.0.4 and 12.1.0.1 databases

Sample Test Case:
===============

Database stored procedure creation script:
----------------------------------------------

 

 

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