The transaction method has a transactional attribute (value) associated with it.
事务方法有与其相关的一个事务性属性(值)。
PayPal never became a fully-formed currency: the dollar remains the currency, and PayPal the transaction method.
PayPal从来没有成为完全形式的货币:美元还是货币,PayPal是交易方式。
By comparing test, it has been proved statistically that accumulated returns with moving average transaction method are higher than with "buy and hold" method.
把移动平均线法交易情况与“买入持有法”作对比检验,结果表明称动平均线法累计获利统计意义上明显高于“买入持有法”。
According to different comparisons of purchases or sales of goods, it can be divided into comparable transaction method and comparable profit method and analysed further classically.
实物交易的转移价格按照其比较对象的不同,又将其分为以交易为基础的比较定价法和以利润为基础的比较定价法,并对其作了较为细致的分类分析。
A new transaction begins when the method is invoked.
调用这个方法时便开始一个新的事务。
Whenever possible, the transaction owner should be the only method that performs commits and rollbacks on the transaction.
只要可能,事务拥有者应该是对事务执行提交和回滚的唯一方法。
Each worker method creates its own transaction and handles any error checking.
每个辅助方法创建它自己的事务,并处理任何错误检查。
After all, that attribute guarantees that the method will run without a transaction.
毕竟,该属性将确保方法在没有事务的情况下运行。
After the endpoint method returns, the container then completes the transaction.
在端点方法返回之后,容器就完成了事务。
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.
与其他事务策略一样,无论您选择开始事务的组件或层是什么,启动事务的方法都被认为是事务拥有者。
It provides an extended unit-of-work scope beyond the method boundary for local transaction based resource managers.
它在基于资源管理器的本地事务的边界方法之外提供了一个扩展的工作单元作用域。
Manual intervention might not be your preferred method of transaction recovery; some users will opt for automatic and transparent transaction recovery strategies.
手动干预不是事务恢复的首选方法;有些用户会选择自动而透明的事务恢复策略。
This ensures that the read method is included in a transaction scope if it is invoked within that scope's context.
这将确保在作用域的上下文中调用读方法时,它将包含在事务作用域中。
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.
无论开始事务的方法身处何处,事务所有者都是管理事务和执行提交或回滚的惟一方法,这一点非常重要。
Used, for example, to wrap a method call in a transaction, or time the execution of a method.
比如,用来在事务中封装某个方法调用,或者记录方法的执行时间。
The annotation means that the method will be run in a new transaction.
此标注意味着,该方法将在新事务中运行。
Unfortunately, the effect of this characteristic is that a lower-level method that isn't the transaction owner might perform a rollback on exception.
遗憾的是,此特性的效果是,作为非事务拥有者的较低级方法可以对异常执行回滚。
Once that method ends, the new transaction commits and the original transaction resumes.
方法结束后,新的事务被提交,原来的事务继续执行。
Remember the golden rules: the client method invoking the API layer method is the transaction owner, and only the transaction owner should be responsible for rollback.
记住刚才的两条黄金法则:调用api层方法的客户机方法是事务所有者,只有事务所有者才负责执行回滚。
These include the transaction types for each method and even the fact that the EJB is a stateless EJB.
这包括每个方法的事务类型,甚至EJB是无状态 EJB 这一事实。
The client-layer method that starts the transaction is considered the transaction owner.
开始事务的客户端层方法被称作事务所有者。
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。
The method that starts the transaction is designated as the transaction owner.
开始事务的方法被指定为事务所有者。
The semantics of the REQUIRED transaction attribute are the same as in J2EE, meaning that the method will always execute within a transaction.
REQUIRED事务属性的语义与J2EE中相同,这意味着该方法将始终在事务中执行。
No transaction is started because of the SUPPORTS propagation mode, so the method effectively USES a local (database) transaction.
由于传播模式被设置为SUPPORTS,所以不会启动任何事物,因此该方法有效地利用了一个本地(数据库)事务。
You would need to use programmatic transactions in the client method (see " Transaction strategies: Models and strategies overview").
您需要在客户机方法中使用编程式的事务(参见 “事务策略:模型和策略概述”)。
The REQUIRES_NEW transaction attribute always starts a new transaction when the method is started, whether or not an existing transaction is present.
REQUIRES_NEW事务属性总是会在启动方法时启动一个新的事务。
If a problem occurs, we will call the rollback method on the transaction object.
如果出现了任何问题,我们将调用事务对象中的rollback方法。
Instead, let the CMP bean method control the transaction through the container.
相反,可以让CMPbean方法通过容器控制事务。
Instead, let the CMP bean method control the transaction through the container.
相反,可以让CMPbean方法通过容器控制事务。
应用推荐