These methods open the bean to receiving three additional callbacks from the container to allow the proper handling of transaction state within the bean.
这些方法使bean可以从容器接收三个额外的回调,以允许正确处理bean中的事务状态。
If the transaction is known by the coordinator, but the transaction state is Active or In-Doubt, then the rule is to Undo any actions (our databases again use their Undo records).
如果协调器了解事务,但是事务状态是Active或In - Doubt,那么规则是撤销所有的动作(我们的数据库再次使用它们的Undo记录)。
Replay causes the Coordinator to resend the last protocol message to Database-1, which lets Database-1 deduce the transaction state -- and then apply the appropriate recovery rule.
Replay 引起协调器把最后的协议消息重发给Database-1,这使得 Database-1推断事务状态--然后应用合适的恢复规则。
If the server containing the principal database fails or connectivity is interrupted, connection and transaction state is lost.
如果包含主体数据库的服务器失败或连接中断,连接和事务状态将丢失。
The waiting transaction (state W = "wait" in column Sts) is the transaction with handle 6.
等待的事务(列Sts中显示 “W”(“wait”)的事务)是句柄为 6 的事务。 该事务正在与事务 2 请求同一个行上的 X 锁。
The waiting transaction (state W = "wait" in column Sts) is the transaction with handle 6.
等待的事务(列Sts中显示 “W”(“wait”)的事务)是句柄为 6 的事务。 该事务正在与事务 2 请求同一个行上的 X 锁。
应用推荐