We will have to explicitly refresh our live objects when we suspect they may have participated in a rollback transaction.
当我们怀疑活动对象参与了回滚事务,我们必须显式刷新我们的活动对象。
For rollback transaction using abstract operating sings record the executive sequence, adopting the contrary execution realizes the rollback transaction.
对事务回退操作采用抽象操作符记录动作的执行顺序,通过动作的逆操作实现事务的回退操作。
Then we rollback this transaction.
然后我们回滚这个事务。
They abort and rollback the transaction if one or more participants failed in the prepare phase.
如果在准备阶段有一个或多个参与者失败,则终止或回滚该事务。
When and where should you specify the transaction rollback directives?
您应该在何时何种情况下指定事务回滚指令?
So COMMIT and ROLLBACK statements are important building blocks of a transaction implementation.
因此COMMIT和rollback语句是事务实现的重要构建块。
At the end of the transaction boundary (commit or rollback), the database agent is disassociated with the application.
在事务边界(提交或回滚)的末尾,数据库代理与应用程序分离。
One solution would be to have a small application that joins the open transaction branch within the engine that advises the engine to commit or rollback the open transaction.
一种解决方案是用一个小型应用程序连接引擎中打开的事务分支,并通知引擎提交或回滚这一打开的事务。
This lets you set, rollback, and release savepoints in a transaction.
它允许您在事务中设置、回滚和释放保存点。
If the end user is not authorized to invoke this service, an error is surfaced and the transaction is marked for rollback.
如果终端用户没有被授权调用这个服务,那么会遇到一个错误,事务被标记为回滚。
In the case of an error, the transaction logic can specify that the transaction rollback to a savepoint.
在发生错误的情况下,事务逻辑可以指定该事务回滚到某个保存点。
If she is not authorized, an error is raised and the transaction is marked for rollback.
如果她没有经过授权,那么出现一个错误,事务被标记为回滚。
If the receipt of one of the messages fails, we mark the global transaction for rollback and then sleep for 5 seconds.
如果接收其中的某个消息失败,我们会标记全局事务进行回滚,然后等候5秒。
Two-phase commit gives the transaction manager power to ensure that all resources that participate in a transaction commit or rollback together.
二阶段提交让事务管理者有能力确保所有参与事务的资源都一起提交或回滚。
The transaction time includes the time at which an application's statement activity begins until a commit or rollback implicitly or explicitly ends the transaction.
事务时间包括从应用程序的声明活动开始,直到一条提交或回滚命令隐式或显式地结束事务为止。
The business process also has a snippet component, which you can use to raise a fault and to demonstrate a global transaction rollback.
业务流程也有一个代码段组件,您可以用它来引发一个故障并演示一个全局事务回滚。
This feature enables applications to rollback a transaction to a predetermined marker.
该特性使应用程序能够将事务回滚到一个预先确定的标记。
Otherwise the transaction is going to be aborted by ROLLBACK.
否则,该事务就将被ROLLBACK中止。
As you can see from Listing 4, if an exception is thrown in either of the update methods, it is the client layer method's responsibility to do the necessary transaction rollback.
从清单4中可以看到,如果任何一个更新方法抛出异常,则客户端层方法将负责执行必要的事务回滚。
Now retrieve the amount overdue from the account 12345, and rollback the transaction after doing so again, as shown in Listing 10.
现在从帐户12345检索过期时间量,然后再次回滚该事务,如清单10所示。
This is because rollback can easily be confused with the transaction rollback and ABORT is more consistent with other utilities.
这是因为ROLLBACK很容易与事务回滚混淆,而ABORT则与其他实用程序更加一致。
Frees transactions if transaction rollback for other than an XA rollback.
如果是除xa回滚以外的其他事务回滚,则释放事务。
Why does the commit or rollback of a transaction close the result set?
为何事务的提交或回滚关闭结果集?
If any step fails (for example, you fail to successfully mark the message as processed), you can rollback the JTA transaction and that message can be validly processed again.
如果任一步骤失败(例如,您没有成功将消息标记为“已处理”),您可以回滚到JTA事务,该消息可以被再次有效处理。
In the EJB implementation code, as a part of exception handling, set the transaction to Rollback, as shown in Figure 11.
在EJB实现代码中,作为异常处理的一部分将事务设置为Rollback,如图11所示。
Conversely, application exceptions under EJB 1.0 automatically caused a transaction rollback under certain circumstances.
反过来说,EJB 1.0下发生的应用程序异常在某种环境下会自动导致一个事务回滚。
You only need to specify the transaction attributes (no rollback code or rollback directives!)
您只需要指定事务属性(没有回滚代码或回滚指令!)
It then invokes commit or rollback for each transaction as appropriate.
然后根据情况为每个事务调用commit或rollback。
A transaction callback must be defined in the objectgrid.xml to receive transaction commit or rollback events and send it to the JPA layer.
在objectgrid.xml中必须定义事务的回调函数,这样就可以接收事务提交或回滚的事件,并将其发送到JPA层。
Meanwhile, according to the spec, the container must catch system exceptions, mark the transaction for rollback, and throw RemoteException or EJBException to the EJB client.
同时,根据该规范,容器必须能够捕获系统异常,标记事务用于回滚,并向EJB客户端抛出RemoteException或EJBException异常。
应用推荐