Compiling Object In One Schema Invalidates Object In Another
Last updated on JANUARY 07, 2018
Applies to:PL/SQL - Version 22.214.171.124 to 126.96.36.199 [Release 9.2 to 12.2]
Information in this document applies to any platform.
Compiling a procedure in one schema invalidates a procedure in another schema under the following scenario:
Both schemas have a database link that is named the same but points to different remote databases that contain a remote object named the same.
Due to package invalidation, errors like ORA-6508, ORA-4063 or ORA-4065 can occur at run time.
ORA-04063: package body "owner.package" has errors
ORA-06508: PL/SQL: could not find program unit being called: "owner.package"
ORA-4065: not executed, altered or dropped %s
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