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 08, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.1.0.7   [Release: 11.1 to 11.1]
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

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