Commit the transaction and issue the SQL query again.
再次提交事务和发出SQL查询。
It will then commit the transaction, unbind the persistence context, and close it.
然后提交事务,取消绑定持久化上下文并关闭它。
If everything goes well, we will commit the transaction before closing the session.
如果所有的东西都运行正常,我们将在关闭会话以前提交事务。
Such applications have to commit the transaction by the end of the lifetime of the HTTP request.
该应用程序必须到HTTP请求的生命周期末提交事务。
If we did successfully receive all of the messages, then we must remember to commit the transaction.
如果成功接收到了所有消息,则必须记得提交事务。
An exception has been thrown so should you really commit the transaction (which is the automatic behavior)?
已经抛出了异常,那么您真的要执行这些事务吗(哪个是自动的行为)?
However, in our scenario, the UI thread is also waiting for the worker thread to commit the transaction.
但在我们的方案中,用户界面线程还要等待辅助线程提交事务。
As a short-running process, the expected behavior is to invoke all three services and to commit the transaction.
作为一个短期运行流程,预期的行为就是调用全部三个服务并执行事务。
Use these methods to specify if the RPC will commit the transaction in the same context in which this call is made.
使用这些方法指定RPC是否提交该方法调用所在的上下文中的事务。
The two-phase commit protocol is driven by the caller's WS-AT coordinator when it is ready to commit the transaction.
当准备好提交事务时,两阶段提交协议将由调用方的WS - AT协调器进行驱动。
The application USES the Completion Protocol defined in WS-AtomicTransaction to indicate that it wishes to commit the transaction.
应用程序使用定义在Web服务原子事务的完成协议(Completion Protocol)来指出它希望提交事务。
If the client receives an "okay" from the databases the client sends the order to commit the transaction to the databases (Phase 2).
如果客户机从数据库收到一条“okay”,就发出命令向数据库提交该事务(第2阶段)。
If this exception is left uncaught, the default action will be to commit the transaction, including all work performed by CICS, up to the point of the abend.
如果未捕获此异常,则缺省操作是提交事务(包括CICS执行的所有工作),直到异常终止点。
In the next step the application successfully commits the transaction branch for DB2. Next, the application advises the DB2 transaction branch to commit the transaction.
在下一步中,应用程序成功提交了DB2的事务分支。
Once all the updates are performed you can invoke the commit method to commit the transaction, or the rollback method to roll back the transaction. Listing 5 illustrates this technique.
执行了所有更新之后,您可以调用commit方法来提交事务,或者调用rollback方法来回滚事务。
For the second method, you simply create a new team using the name of the team that is passed in, create a transaction, save the new team, and commit the transaction using the EntityManager.
对于第二个方法,只要用传入的球队名创建新的Team,用EntityManager创建事务、保存新球队并执行事务。
In a read transaction, there are no changes to commit, but the transaction prevents the data being read from changing until all of the reads are complete.
在读事务中,没有变更需要提交,但是事务会防止对正在被读取的数据的修改,直到所有的读操作全部结束。
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.
一种解决方案是用一个小型应用程序连接引擎中打开的事务分支,并通知引擎提交或回滚这一打开的事务。
The log operation succeeds only on transaction commit, but a failure of the log operation doesn't cause the transaction to abort.
只有当事务提交的时候日志操作才会成功,但日志操作的失败并不会导致事务被中止。
Regardless of where the method that starts the transaction resides, it's important that the transaction owner be the only method to manage the transaction and perform the commit or rollback.
无论开始事务的方法身处何处,事务所有者都是管理事务和执行提交或回滚的惟一方法,这一点非常重要。
If all participants are prepared to commit, the transaction commits; otherwise, the transaction aborts.
如果所有参与者都准备好提交,则事务提交;否则事务中止提交。
At the end of the transaction boundary (commit or rollback), the database agent is disassociated with the application.
在事务边界(提交或回滚)的末尾,数据库代理与应用程序分离。
The server can commit the modifications to the database with an ACID-compliant transaction warranty.
服务器就可以通过一个保证符合 ACID事务将修改提交到数据库中。
Two-phase commit gives the transaction manager power to ensure that all resources that participate in a transaction commit or rollback together.
二阶段提交让事务管理者有能力确保所有参与事务的资源都一起提交或回滚。
提交这个JTA事务。
Desired behavior: If the failure occurs before commit processing is complete, then the transaction goes in doubt.
期望的行为:如果故障出现在提交进程完成之前,那么事务的行为将无法确定。
As mentioned in section "Introduction into the Two-Phase-Commit protocol" an XA transaction contains two elements which define the transaction.
正如“两阶段提交协议简介”小节中提到的,XA事务包含定义该事务的两个元素。
After both branches for IDS and DB2 are executed the global transaction is ready to commit the modifications.
在IDS和DB2的分支都执行之后,全局事务就准备提交这些修改。
This situation is not necessarily incorrect, but it may force more expensive two phase commit coordination of the transaction.
这种情况不一定不正确,但可能会强制使用开销更大的事务两阶段提交协作。
If the result set was produced in the previous transaction, an implicit or explicit commit closes the result set.
如果结果集是在前一个事务中生成的,那么隐式或显式的提交会关闭这个结果集。
应用推荐