• Listing 1 shows how we specify the transaction context for an atomic request.

    清单1展示了我们如何指定原子请求事务上下文

    youdao

  • Listing 2 shows how to start, execute, and commit a transaction.

    清单2将显示如何启动执行提交事务

    youdao

  • Note: in Listing 14, the SALES_FACT table is populated in a single transaction, which will require a large amount of disk space for logging.

    注意清单14中,sales_fact通过单独一个事务填充完成需要占用大量的磁盘空间记录日志。

    youdao

  • Listing 7 begins by expecting that the search is for a specific transaction.

    清单7首先期望搜索针对一个特定的交易

    youdao

  • Therefore, the code in Listing 13 is useless from a transaction standpoint; although it appears that it USES transactions to maintain atomicity and consistency, in fact it does not.

    因此清单13中的代码事务角度来说毫无用处;尽管看上去使用事务维护原子性一致性,但事实上并没有。

    youdao

  • This approach, in combination with the aspect in Listing 2 and Listing 6, results in surrounding the methods' execution with transaction management logic.

    这种方法清单2清单6中的方面结合,就可以事务管理逻辑用于方法执行

    youdao

  • The code in Listing 2 is intended to pull from the list either all transactions if no filter is specified or a single transaction together with the related project information.

    清单2中的代码旨在查询到列表中的所有交易(没有指定过滤条件的话)或者单个交易以及相关项目信息

    youdao

  • The coordinator collects all the votes and determines the transaction can be Committed (see Listing 11).

    协调器收集所有投票确定事务可以提交请参阅清单11 )。

    youdao

  • The JDBC code in Listing 1 includes no transaction logic, yet it persists the trade order in the TRADE table in the database.

    清单1中的JDBC代码没有包含任何事务逻辑只是数据库保存TRADE中的交易订单

    youdao

  • Listing 15 shows the plan for the payment transaction.

    清单15展示支付事务计划

    youdao

  • Unlike the example in Listing 1, with declarative transaction demarcation there is no transaction management code in the component methods.

    清单1中的示例不同,由于有宣告式事务划分组件代码没有事务管理代码。

    youdao

  • Listing 10: Checking for the transaction log archive mode status?

    清单10查看事务日志归档模式状态

    youdao

  • Create the file system for the DB2 data and transaction logs at the primary site, and then change the owner to the DB2 instance owner, as shown in Listing 6.

    主站点创建DB 2数据以及事务日志文件系统所有者为此DB 2实例的所有者,如清单6

    youdao

  • Each GET invocation returns a JSON-formatted data representation of the status of the transaction being queried, as shown in Listing 5.

    每个GET调用返回一个json格式字符串,这查询交易状态数据清单5。

    youdao

  • 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可以看到如果任何一个更新方法抛出异常客户方法负责执行必要事务回滚。

    youdao

  • Now retrieve the amount overdue from the account 12345, and rollback the transaction after doing so again, as shown in Listing 10.

    现在帐户12345检索过期时间然后再次回滚事务如清单10

    youdao

  • Listing 2 shows a simple transaction.

    清单2显示了一个简单事务

    youdao

  • In this case, because you want to perform a read-only lookup of the status of a single transaction, the GET method is an obvious fit using the URI pattern, as shown in Listing 4.

    这个示例中因为希望单一交易状态执行只读查询显然应该使用GET方法,使用URI模式清单4。

    youdao

  • The corresponding error message is returned for the UPDATE statement in the victim transaction, as shown in Listing 19.

    出错事务update语句返回相应错误信息如清单19

    youdao

  • Listing 4 is a XML sample response for the transaction.

    清单4这个事务XML响应示例

    youdao

  • Rather than brokering transactions, Alibaba charges suppliers for listing items and for extra promotion, leaving them to seal the transaction off the site.

    阿里巴巴不是扮演经纪行的角色,网站供应商收取发布产品信息额外推广的费用,他们在网站之外达成交易

    youdao

  • Listing 1 from the EJB deployment descriptor provides an example of setting transaction attributes for the funds transfer entity EJB.

    摘自ejb部署描述符清单1提供了一个资金转帐实体eJB设置事务属性例子

    youdao

  • Listing 4: Restoring the salesdb database from a backup and placing the transaction log in different location.

    清单4备份恢复salesdb数据库事务日志放在不同位置

    youdao

  • So, you test the code in Listing 3 and discover that the persist method didn't work without a transaction.

    测试清单3中的代码发现persist方法没有事务的情况下不能工作

    youdao

  • The Coordination Service returns a CoordinationContext that is used to uniquely identify the transaction (and includes the address of the Registration) as shown in Listing 2.

    协调服务返回用于唯一标识事务CoordinationContext(还包含注册服务的地址),如清单2

    youdao

  • Now I'll fix the code in Listing 1 by applying the High Concurrency transaction strategy's read-first technique.

    现在修复清单1中的代码,方法是应用HighConcurrency事务策略先读取技巧。

    youdao

  • Notice in Listing 1 that the autoCommit value is set to true, indicating to the DBMS that the local transaction should be committed after each database statement.

    注意清单1中,autocommit设置true指示DBMS应该数据库语句之后提交本地事务

    youdao

  • After the application has a reference to the UserTransaction object it may start the transaction, as shown in Listing 5.

    应用程序找到UserTransaction对象后,可以开始事务了,如清单5

    youdao

  • Listing 3 shows how to demarcate a transaction using the JDBC API.

    清单3显示了如何JDBCAPI界定一个事务

    youdao

  • The transaction duration in the new code is only 300 ms, dramatically lower than the 6100 ms from Listing 1.

    代码中,事务持续时间只有300ms显著低于清单1中的6100 ms。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定