When Upgrading 11g, the Wrapped Package Body with FORALL Raises PLS-435, PLS-440 on Compilation (Doc ID 949343.1)

Last updated on JULY 17, 2017

Applies to:

PL/SQL - Version: 11.1.0.7 to 11.2.0.1 - Release: 11.1 to 11.2
Information in this document applies to any platform.

Symptoms

-- Problem Statement:
Certain 9.2 wrapped code (.plb) with a FORALL is not portable to 11g, directly or indirectly.
The same wrapped code will port to 10.1 and 10.2 without error.
The problem applies to wrapped code created directly in 11g (if wrapped in 9.2),
or first taken in wrapped form from 9.2, run in 10.2, exported, and then imported into 11g.

Errors seen:
PLS-435: DML statement without BULK In-BIND cannot be used
inside FORALL
PLS-440: FORALL bulk IN-bind variables cannot be used here




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