LOADJAVA Gets ORA-00932: Inconsistent Datatypes (Doc ID 1261084.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
Information in this document applies to any platform.

Checked for relevance on 22-Jun-2017

Symptoms

Attempting to load a class into a schema gets ORA-932 as follows:

loadjava -verbose -force -user test/test test1.class
arguments: '-user' 'test/***' '-verbose' '-force' 'test1.class'
creating : class test1
loading : class test1
created : CREATE$JAVA$LOB$TABLE
Error while testing for existence of dbms_java.handleMd5
ORA-00932: inconsistent datatypes: expected a return value that is convertible to an Oracle CHAR, VARCHAR2 etc got a Java oracle/sql/RAW
Classes Loaded: 1
Resources Loaded: 0
Sources Loaded: 0
Published Interfaces: 0
Classes generated: 0
Classes skipped: 0
Synonyms Created: 0
Errors: 0

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