在mysql中的存储过程中使用事务transaction_Sean_新浪博客

在mysql中的存储过程中使用事务transaction_Sean_新浪博客,Sean, 来源: 在mysql中的存储过程中使用事务transaction_Sean_新浪博客 一. 在处理事务时,使用SQLException捕获SQL错误,然后处理; 按照这个推论,我们必须在MySQL存储过程中捕获SQL错误,最后判断是回滚(ROLLBACK)还是提交(COMMIT)。 所以存储过程为: DELI