My Oracle Support Banner

Running a Java Stored Procedure After Upgrade to Oracle RDBMS 10.2.x Results in Error: "ORA-00932: inconsistent datatypes: expected a Java type at argument position 4 to which some Oracle value can' (Doc ID 855935.1)

Last updated on MARCH 20, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.4 [Release 10.2]
Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.1.0.7 [Release 11.1]
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
Information in this document applies to any platform.
***Checked for relevance on 30-Nov-2011***


Symptoms

A Java Stored Procedure invoked from PL/SQL through a PL/SQL wrapper in a package fails with following error:

ORA-00932: inconsistent datatypes: expected a Java type at argument position 4 to which some
Oracle value can be converted got something else

This happens after upgrading your RDBMS to 10.2.0.x.

Changes

Upgrade to RDBMS 10.2.0.x

Cause

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
Symptoms
Changes
Cause
Solution
References

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