My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

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

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
References


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