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!

Global Variables Issue

Orcl ApexSep 20 2017 — edited Sep 25 2017

Hi All,

We are creating sales orders using oracle middleware in oracle ebs. As there are thousands of orders coming on real time basis middleware is using connection pooling.

We are having 6 PLSQL packages, one called by midleware and that main package is calling all other packages. All these packages are using global variables heavily. We even have package spec level variables.

Our problem is with order booking, we investigated and found that value of some global variables is now coming as expected.

I need inputs to troubleshoot this issue, why the value of global variables is changed in many session and not coming correctly.

Do I need to reset package variable state everytime ? does it have any performance issue ? do i need to call then in package spec/body or initialization section.

Please advise how to get bottom of issue caused by global variables.

This post has been answered by unknown-7404 on Sep 21 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2017
Added on Sep 20 2017
16 comments
1,198 views