Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compiling package invalidates other packages

MilleniumaireFeb 23 2014 — edited Feb 25 2014

Hi have an unusual issue, one that I haven't come across before and would appreciate some help in resolving it.

I have a pl/sql package, call it Package A and when I compile it successfully, other packages in a different schema become invalid, lets call these Package B, C and D. If I then re-compile any or all of packages B, C and D, then Package A becomes invalid.  It is only the package body in all packages that is affected and even re-compiling only the package bodies gives the same results.  So, I'm currently unable to compile Packages A, B, C and D and one of them is ALWAYS invalid!

The strange thing about this behaviour, is that it only occurs in our Test database.  The Dev database is fine and I don't see this issue.  No objects are being changed to cause the invalidation, I'm simply re-compiling package bodies.

Please provide some advice on how to troubleshoot this issue.

Thanks.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2014
Added on Feb 23 2014
16 comments
3,047 views