Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

APEX - Transaction Control - Commit/Rollback

Posted on 2011-03-18
2
2,049 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 74

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
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 information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

856 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