Error ORA-12839 While Executing a Package in 11g Release (Doc ID 1241725.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.2 [Release 11.1 to 11.2]
Information in this document applies to any platform.
Reviewed 12-Mar-2014.

Symptoms

It cannot run successfully a package in 11.1.0.7 release once enabled Parallel Session, on the contrary,
this works fine in 10g release.

It happens if having a parent table and child table with a parent referential constraint then running Parallel DML again, then this can fail with an unexpected ORA-12839 or even fail with an ORA-600 error.

For example:

once enabled parallel session, i.e.:

EXECUTE IMMEDIATE 'alter session enable parallel dml';

then the package makes the error:

ORA-12839: cannot modify an object in parallel after modifying it.

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