oracle 日志-oracle 异常事务回滚
2012-04-29 10:24
513 查看
create or replace procedure testcomitandexp()as begin insert into dept(deptno,dname,loc) values(50,'Tname','China'); insert into dept(deptno,dname,loc) values(60,'Tname1','China1'); insert into dept(deptno,dname,loc) values(7066666,'Tname2','China2'); dbms_output.put_line('insert is finish.please check'); commit; exception when others then rollback; dbms_output.put_line('this insert is rollback.please check'); end本文出自 “TEC-H” 博客,请务必保留此出处http://techzone.blog.51cto.com/958040/847022
相关文章推荐
- oracle_存储过程_没有参数_更新过期申请单以及写日志事务回滚
- [Oracle] DBA管理之"中止事务和修改日志回滚组"
- oracle_存储过程_没有参数_根据配置自动创建申请单以及写日志事务回滚
- java事务异常——Spring事务异常回滚,捕获异常不抛出就不会回滚
- Spring事务管理只对出现运行期异常进行回滚
- Spring配置事务 service 异常捕获回滚问题
- Spring事务异常回滚,捕获异常不抛出就不会回滚
- Spring事务异常回滚,捕获异常不抛出就不会回滚
- Spring事务管理只对出现运行期异常进行回滚
- Spring Transaction详解 - 异常发生时的事务回滚机制
- 异常捕获不抛出,Spring事务无法回滚
- Spring管理事务默认回滚的异常是什么?
- oracle 数据库事务,提交,回滚,保存点,表的锁定,隐式锁,显示锁,写锁,读锁,排他锁,共享锁
- spring异常与事务回滚
- spring事务,service中捕获异常不抛出,不回滚
- mysql事务管理及spring声明式事务中主动异常抛出使数据库回滚
- 事务日志回滚机制研究
- 异常捕获不抛出,Spring事务无法回滚【转载】
- Spring管理事务默认回滚的异常是什么?
- Spring事务管理只对出现运行期异常进行回滚