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!

stateful pl/sql package with init in body does not recompile package for package body changes only

user8704911Dec 8 2015 — edited Dec 9 2015

1. A package hosts a public variable.

2. A package body initializes the package variable.

3. package body is changed

4. package and package body are deployed.

5. oracle db only compiles the package body - package (header) is not compiled again (it didn't change).

=> querying package public variable reports the old conditions even though the package body and the initializer for the data had been changed.

Is this correct?

(I'll post an example next)

rgds,
Frank

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 6 2016
Added on Dec 8 2015
14 comments
824 views