The code in Listing 3 performs initialization, performs some work, completes the transaction if everything was successful, rolls back otherwise, and finally cleans up resources.
清单3中的代码执行初始化,执行一些工作,如果一切顺利,则事务完成,否则会回滚,并最终会清空资源。
The code in Listing 3 performs initialization, performs some work, completes the transaction if everything was successful, rolls back otherwise, and finally cleans up resources.
清单3中的代码执行初始化,执行一些工作,如果一切顺利,则事务完成,否则会回滚,并最终会清空资源。
应用推荐