事务故障是由于程序执行错误而引起事务非预期的、异常终止的故障。它发生在单个事务的局部范围内,实际上就是程序的故障。有的事务故障可以通过事务程序本身发现。
如果存在事务故障,则使用临时回滚队列 (ERRORQ)
The temporary backout queue that comes into play if there are transaction failures (ERRORQ)
恢复算法结合相关恢复协议,确保了全局事务故障的原子性。
In combination with the corresponding recovery protocols, recovery algorithm guaranteed the atomicity of global transaction failure.
SessionSycnhronization接口允许无状态或有状态会话bean对事务故障做出响应。
The SessionSycnhronization interface allows stateless or stateful session beans to respond to transaction failures.
应用推荐