HomeOracleOracle Error PLS-00960: RPCs cannot use parameters with schema-level object types in this release

Oracle Error PLS-00960: RPCs cannot use parameters with schema-level object types in this release

Oracle Error Message

PLS-00960: RPCs cannot use parameters with schema-level object types in this release

Reason for the Error

Schema-level object types, or types which recursively use such types, were used in an RPC, which is not permitted. For example: create type foo as object (…) create package my_pack is type my_rec is record(v foo); — on a remote server: x my_pack.my_rec@rpc; — illegal attempt to use type my_rec

Solution

Use only PL/SQL-defined types in RPC calls. It may be necessary to add extra code to element-wise copy schema-level types into local types in order to move such data through an RPC.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...