plsql - Is recompiling Oracle Packages safe -


hi have third party oracle based application, ships precompiled binary(wrapped) packages. when compile them in oracle sql developer (right click -> compile all), invalidated.

is recompiling safe operation no side effects?

the major side effect if compile package package dependant upon risk invalidating dependant package existing sessions - if compile has no errors. fine applications sessions short-lived applications sessions long-lived problem. if you're using connection pools in jdbc cached sessions long lived , invalidated. have flush cached sessions avoid error.

the error you're looking "ora-04068: existing state of packages has been discarded".

see here more info.

specifically regards sql developer - not handle recompilation of wrapped packages well. if going recompile them try tool toad or pl/sql developer or use "alter package" command in sql plus command line.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -