Skip to Main Content

APEX

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Need a Page Unload (beforeunload?) Event -23.2.6

Joe RFeb 13 2025

Version: 23.2.6

Hello,

I have a page that connects to a BYOD (Bring Your Own Database) that is used to connect to Dynamics 365 (D365) for Financial reporting. It was found out that the connection to BYOD is not getting terminated when the transaction is completed. This is causing ORDS to hang.

After many days of troubleshooting the DBA found that if an explicit COMMIT was used to ensure the database transaction was terminated along with a custom Procedure to terminate the connection to BYOD all was good.

I thought that adding a Dynamic Action on Page Unload with the COMMIT and the Procedure would solve the issue. It didn't. There is a Dynamic Action event called ‘Page Unload’ that seemed to be exactly what I needed. Unfortunately, it's deprecated. I see that the replacement is ‘Window: beforeunload event’.

Would someone be able to help me with how to set up a PAGE UNLOAD process (Dynamic Action) or is there another way to do this?

Thanks,

Joe

This post has been answered by fac586 on Feb 13 2025
Jump to Answer

Comments

BluShadow Mar 18 2024

Oracle support documents are available to paying customers through the support portal: support.oracle.com

If you are not a paying customer then I'm afraid you won't have access to the document, and it is a breach of any customer's agreement with Oracle to supply such support documents to others.

1 - 1

Post Details

Added on Feb 13 2025
9 comments
76 views