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.
如果所有的东西都运行正常,我们将在关闭会话以前提交事务。
If we did successfully receive all of the messages, then we must remember 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是否提交该方法调用所在的上下文中的事务。
However, in our scenario, the UI thread is also waiting for the worker thread to commit the transaction.
但在我们的方案中,用户界面线程还要等待辅助线程提交事务。
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执行的所有工作),直到异常终止点。
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创建事务、保存新球队并执行事务。
Commit the transaction and issue the SQL query again.
再次提交事务和发出SQL查询。
If all participants are prepared to commit, the transaction commits; otherwise, the transaction aborts.
如果所有参与者都准备好提交,则事务提交;否则事务中止提交。
When the application invokes commit , the transaction manager USES a two-phase commit protocol to end the transaction.
当应用程序调用commit时,事务管理器用一个两阶段的提交协议结束事务。
When the application invokes commit , the transaction manager USES a two-phase commit protocol to end the transaction.
当应用程序调用commit时,事务管理器用一个两阶段的提交协议结束事务。
应用推荐