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

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

    youdao

  • If you chose this approach, the calling component would need to start a transaction prior to calling methods on the EIS facade, or an exception would be raised.

    如果选择这种方法,那么在调用组件时,需要在调用EIS代理的方法之前启动一个事务,否则就会抛出异常。

    youdao

  • For example, for many server applications it's not important if the server takes longer to start up: what's important is the run rate of transaction performance after startup.

    例如,如果这个服务器要花费很长时间来启动,那么对于许多服务器应用软件来说就不重要:重要的启动之后事务性能的运行速率。

    youdao

  • An application program defines the start and end of a global transaction, accesses resources within transaction boundaries, and usually decides whether to commit or roll back each transaction.

    应用程序对全局事务的开始和结束进行了定义,在事务界限内获取资源,并且通常决定是否提交或回滚每个事务。

    youdao

  • For some API calls, the transaction might start and end at the API layer, whereas other times it might be scoped only at the DAO layer (particularly for single-table updates within the LUW).

    对于一些API调用,事务可能会在api层的末端开始,而其他时候,它可能仅限于dao层(特别是对于LUW中的单表更新)。

    youdao

  • The above technique would obviously fail if you were to start a different TCP connection for every request or transaction.

    如果您打算为每个请求或者事务发起不同的TCP连接,那么上述的技术很明显会失效。

    youdao

  • The only methods in the entire application architecture that start, commit, and roll back a transaction are public methods contained in API layer's domain classes.

    整个应用程序架构中用于启动、提交和回滚事务的惟一方法就是api层的域类中包含的公共方法。

    youdao

  • As with the other transaction strategies, regardless of the component or layer you choose to start the transaction, the method that starts the transaction is considered the transaction owner.

    与其他事务策略一样,无论您选择开始事务的组件或层是什么,启动事务的方法都被认为是事务拥有者。

    youdao

  • Always use a session facade to start a global transaction around the entities used.

    始终使用会话虚包来启动有关所使用实体的全局事务。

    youdao

  • In standard JDBC code without auto-commit, the application USES a connection to access and update data, then commits the connection to end the transaction (and start another).

    在没有自动提交的标准JDBC代码中,应用程序使用一个连接来访问和更新数据,然后提交该连接以结束这个事务(并启动另一个事务)。

    youdao

  • The main purpose of the consumer layer is to gather all the information required to be able to start a business process or transaction.

    使用者层的主要目的是,收集所需的所有信息,以便能启动业务流程或事务。

    youdao

  • When specified on a service, the intent indicates that the service will run under the caller's global transaction, if one is present, or it will start a new one if no global transaction is present.

    在服务上指定时,此意图将指示服务将在调用方的全局事务中运行(如果有全局事务),如果没有全局事务则将启动新的全局事务。

    youdao

  • The current channel is set by the calling program or transaction by issuing a LINK, XCTL, START and pseudo-conversational RETURN with the channel parameter.

    通过发出带有管道参数的LINK、XCTL、START和伪会话return,当前管道由调用程序或事务实现。

    youdao

  • So a blocked worker thread, because it's waiting on a response from some remote service, can't proceed with the current transaction and can't start processing a new transaction either.

    因此,由于阻塞工作线程会等待某个远程服务发送的响应,因此无法继续处理当前事务,也无法开始处理新事务。

    youdao

  • If defined as NOT NULL, the value corresponds to the start time associated with the most recent transaction (the value of the as ROW BEGIN column).

    如果定义为NOT NULL,该值会对应于与最近的事务相关联的开始时间(ASROW begin列的值)。

    youdao

  • The odd thing about the read-only flag is that you need to start a transaction in order to use it.

    关于只读标志很奇怪的一点是:要使用它,必须启动一个事务。

    youdao

  • As I said earlier, one of the biggest restrictions with this transaction strategy is that the client layer must be able to start a transaction and propagate it to the API layer.

    如前所述,这种事务策略的最大一个限制就是,客户端层必须能够开始一个事务并将它传播给api层。

    youdao

  • With the API layer transaction strategy, it's not the end of the world if you start a transaction at the client layer during a refactoring effort.

    对于api层事务策略,您在重构过程中在客户端层上开始一个事务并不会引起灾难性后果。

    youdao

  • Unlike the required attribute, the MANDATORY attribute will not start a transaction if one does not exist, but rather will throw an exception indicating that a transaction is required.

    与REQUIRED属性不同,MANDATORY属性将不会开始不存在的事务,而是抛出一个异常,指示需要事务。

    youdao

  • After it's acquired, it's used to start and commit a transaction, and if there are any errors, the transaction is rolled back.

    获得实例后,它被用于启动和提交事务,如果发生任何错误,事务将回滚。

    youdao

  • The average transaction time consists of the total time it took for a transaction to complete from start to finish.

    平均事务时间包含了事务从开始到结束的所有时间。

    youdao

  • Start the transaction scope within the EntityManager.

    在EntityManager中启动事务范围。

    youdao

  • You can see in Figure 4 that the XAResource is enlisted in the transaction (that is, receives a start flow) immediately after the connection is obtained.

    在图4中可以看到,获得连接后,XAResource立即征募到了事务中(即接收一个开始流程)。

    youdao

  • A new transaction would start when the CreditReporter returned the report and it was added to the information associated with the application.

    当CreditReporter返回报告时,一个新的事务处理开始,并且报告被加入到与申请相联系的信息中。

    youdao

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

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

    youdao

  • The once-per-batch cost to start up a new transaction, dispatch the MDB, and perform transactional cleanup is b.

    启动新事务、分派mdb和执行事务清除的每次一批的开销为b。

    youdao

  • If a transaction is already running, the bean method will join in that transaction or the Spring lightweight transaction manager will start one for you.

    如果事务已经在运行,那么bean方法会加入事务,否则Spring的轻量级事务管理器会启动一个事务。

    youdao

  • This setting would ensure that bean methods could join a transaction already in progress or start a new transaction if need be.

    该设置可以保证bean的方法可以加入已经进行的事务中,或者在需要的时候启动新的事务。

    youdao

  • This setting would ensure that bean methods could join a transaction already in progress or start a new transaction if need be.

    该设置可以保证bean的方法可以加入已经进行的事务中,或者在需要的时候启动新的事务。

    youdao

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

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

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