My Oracle Support Banner

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

Last updated on FEBRUARY 01, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.


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




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

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