Executing a DCL statement Such as 'Alter Java Class' on a Java Class Stored in the Database Fails With a Oracle Error Message Related to DML Statement Execution (Doc ID 1599237.1)

Last updated on JULY 10, 2017

Applies to:

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

*** Checked for relevance on 10-Jul-2017 ***

Symptoms

Executing a DCL statement such as 'Alter Java Class' on a Java Class stored in the Database fails with a Oracle error message related to DML statement execution

For Example:


SQL> alter JAVA CLASS SCOTT."org/apache/commons/codec/binary/StringUtils" resolve;

Fails with:

ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line  2


Or some other error message that leads us to believe some DML executed as part of the Alter Java Class statement.

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