Solved

APEX - Transaction Control - Commit/Rollback

Posted on 2011-03-18
2
2,019 Views
Last Modified: 2013-12-19
Hi, I'm using Oracle Application Express which has Auto commit...

If I want to have the update on a form and update of a xref table to both succeed or fail then would I just have from the APEX process to a database procedure or function call and just have a PL/SQL block with commit at the end and a rollback in the exception handling?
0
Comment
Question by:bcarlis
2 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 125 total points
ID: 35170290
yes, that's exactly how you should do it,  you can invoke your procedure on submit before or after validations and before or after other processes for the page
0
 
LVL 2

Author Comment

by:bcarlis
ID: 35172482
Thanks for the confirmation Sean!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question