Executed The Wrong PL/SQL Object When EXECUTE ANY PROCEDURE Is Granted To The User (Doc ID 1233119.1)

Last updated on NOVEMBER 10, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 7.3.4.5 to 11.2.0.2 - Release: 7.3.4 to 11.2
Information in this document applies to any platform.

Symptoms

A pl/sql procedure starts calling a referenced pl/sql package which is in not in the same schema but has the same name, causing a wrong execution and therefore wrong results.
From the moment the issue occurs only flushing the shared pool resolves the issue for a while.


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