The result shows that the automatical reversing method is feasible.
结果表明,这种机械自动换向的方法是可行的。
However, if an exception occurs, you invoke the compensate method, which takes care of reversing whatever activities have been committed to the database.
但是,如果发生异常,则调用compensate方法,它会处理所有已经提交到数据库的活动的反转操作。
The compensationMap attribute contains a preloaded list of all activities (by name) and the corresponding class and method (by name) of the reversing activity.
compensationmap属性包含预先加载的所有活动的列表(按名称排列)以及相应的反转活动的类和方法(按名称排列)。
应用推荐