ITPub博客

首页 > 数据库 > Oracle > Difference between Commit,COMMIT_FORM and Do_Key('Commit_Form')

Difference between Commit,COMMIT_FORM and Do_Key('Commit_Form')

原创 Oracle 作者:pan_tian 时间:2014-07-02 16:37:28 0 删除 编辑
COMMIT_FORM and COMMIT do the same thing, they apply any outstanding changes in the form to the DB and issue a DB-COMMIT.

DO_KEY(\'commit_form\') executes the code which is written in your KEY-COMMIT trigger. If that trigger doesn\'t exist it does the same as COMMIT_FORM.

Oracle Application Developer Guide says:

Replace COMMIT with do_key(\'commit_form\'), This routine raises the exception FORM_TRIGGER_FAILURE if there is an invalid record.


Sequence of Trigger Fire while Committing

  •  KEY-Commit
  •  Pre-Commit
  •  Pre/On/Post Delete
  •  Pre/On/Post Update
  •  Pre/On/Post Insert
  •  On-Commit
  •  Post Database Commit



<!-- Baidu Button BEGIN -->

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26687597/viewspace-1204954/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Difference between Do_Key('Exit_Form') and Exit_Form
下一篇: Enable EBS environments for JRE 7
请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2012-02-18

最新文章