OTT Produces an "O2T-118" Error when referencing ANYDATA.

(Doc ID 1184123.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.4 to 11.2.0.1.0 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Symptoms

The following type is created within the database:

CREATE OR REPLACE type MY_ANYDATA_TYPE as object
(ParamName VARCHAR2( 256 ),
ParamValue AnyData );

When using the object type translator (OTT) against this type, the following error is returned:
O2T-118, ERROR: User-defined type SYS.ANYDATA was not found in the database


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