HomeOracleOracle Error PLS-00970: The class name of a method must match that of EXTERNAL NAME clause in the type header

Oracle Error PLS-00970: The class name of a method must match that of EXTERNAL NAME clause in the type header

Oracle Error Message

PLS-00970: The class name of a method must match that of EXTERNAL NAME clause in the type header

Reason for the Error

The class name defined as part of the method signature does not match the one defined in the type header in the EXTERNAL NAME clause. create type foo as object EXTERNAL NAME ‘foo’ LANGUAGE JAVA (… MEMBER FUNCTION my (number) return number EXTERNAL NAME ‘bar.func(oracle.sql.NUMBER) return oracle.sql.NUMBER’, .. );

Solution

Either omit the class name from the method signature or use the one defined in the type header.

Share:

Leave a Reply

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...