Recreating An Existing Package Generates Timestamps Out Of Sync Which Causes ORA-6508
(Doc ID 1192068.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.1]
Information in this document applies to any platform.
***Checked for relevance on 21st Nov 2016***
If an existing package heavily referenced in the database is recreated, the dependancy mechanism that ensures that packages are recompiled may fail leaving timestamps out of synchronisation.
This generally results in errors such as:
ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped stored procedure "<USER>.<PACKAGE>"
ORA-06508: PL/SQL: could not find program unit being called: "<USER>.<PACKAGE>"
when executing the package.
And these errors do not always automatically clear as they should when package state is reset in subsequent calls.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!