And when you persist objects, they can only be persisted in the same atomic transaction if they are in the same entity group.
并且在持久化对象时,如果它们在相同的实体群中,那么它们只能被持久化到相同的原子事务中。
Entity EJB components were never intended to be serializable for efficient usage outside of the scope of the container or transaction boundary.
实体e JB组件从未打算成为可序列化的以供在容器和事务边界范围之外进行高效利用。
At some point, therefore, it makes sense to conduct the associated transaction within a single legal entity rather than on a market.
因此一些观点认为联合交易在单个法人内发生而不是在是在市场中发生是合理的。
Last month's best practices were basically about using unrelated CMP entity EJBs in a single transaction.
上月所讲述的最佳实践基本上是关于在单独事务中使用非相关的CMP实体e JB。
The entity management layer is responsible for entity management and ensuring the transaction integrity of that object within the container.
实体管理层负责实体管理,并确保容器内该对象的事务完整性。
Through this month's exchange, we looked in detail at a scenario where multiple related entity EJBs are used in a single transaction.
通过本月的交流,我们详细了解了在单个事务中使用多个相关实体e JB的场景。
A way to avoid this is to be more optimistic and believe that it is unlikely that another transaction would want to update the same entity at the same time.
避免该问题的方法是变得更乐观些,并认为其它事务并不期望在同一时刻更新同一实体。
Entity beans are also typically accessed through session beans, which means each transaction involves at least two enterprise beans and often many more.
实体bean通常也可以通过会话bean来访问,这意味着每个事务至少包含两个企业bean,而通常会更多。
Therefore, Entity EJBs accesses in any business method of the session bean AccountManagement are executed in a global transaction.
因此,访问会话BeanAccountManagement中的业务方法的实体e JB都在一个全局事务中执行。
Entity beans provide two models of transaction support.
实体bean提供了两个事务支持模型。
Listing 1 from the EJB deployment descriptor provides an example of setting transaction attributes for the funds transfer entity EJB.
摘自ejb部署描述符的清单1提供了一个为资金转帐实体eJB设置事务属性的例子。
Entity beans are inherently transactional components with configurable transaction semantics; session beans are not.
实体bean本质上是事务性组件,这些组件具有可配置的事务语义;而会话bean没有。
If we used entity beans to implement the Make Payment use case, a simple transaction might require four calls across the network, as shown in Figure 5.
如果我们用实体bean来实现这个付款用例,则一个简单的事务需要跨网络进行四个调用,如图5所示。
WebSphere application Server V6.1 and later supports JPA application-managed entity managers, which might have a transaction type of either JTA or resource-local.
WebSphereApplicationServerV6.1及更高版本支持JPA应用程序托管的实体管理器,该管理器可能是JTA或本地资源事务类型。
Of course, this also takes into consideration the transaction attributes of the targeted entity bean.
当然,这也要考虑目标实体bean的事务属性。
Exclusive concurrency strategy causes WebLogic Server to place an exclusive lock on cached entity EJB instances when the bean is associated with a transaction.
Exclusive并发策略使得当一个bean与一个事务相关联时,WebLogicServer会在缓存的实体e JB实例上放置一个排他锁。
As described previously, the intent of the pessimistic approach is to ensure that the data loaded into the entity bean is locked during the entire duration of a transaction.
正如先前描述的一样,悲观方法的意图是确保装入实体bean的数据在整个事务处理持续时间内处于锁定状态。
JDO USES the PersistenceManager to manage the transactions, whereas entity beans delegate transaction management to the EJB container.
JDO使用PersistenceManager管理事务,而实体bean将事务管理委派给了ejb容器。
That session bean could manage a complicated transaction involving CMP and BMP entity beans, as well as a handful of JDBC calls that directly hit the database.
会话bean会管理涉及CMP和BMP实体bean的复杂事务,以及少数直接访问数据库的JDBC调用。
The European Commission sent a “statement of objections” to Visa Europe (a separate entity to Visa) regarding the transaction fee paid by retailers’ banks to the banks of their customers.
欧盟委员会向威士(VISA)国际组织欧洲分部发送了一封“异议声明”,该声明主要涉及该公司的跨行交易费问题(资金从消费者发卡行转移至零售商账户时发生的一笔费用问题)。
The transaction attribute can be specified for any session or entity bean method. The following attributes are defined in the EJB 2.1 specification.
可以为任何会话或实体bean方法指定事务属性。
If you have a particular entity that is frequently changed by multiple users simultaneously, by all means add it to the transaction scope.
如果有一个特定的实体经常会被多个用户同时更改,则应该想尽一切办法将它添加到事务作用域中。
For example, you can pull information from a database and use an entity bean to cache the data for the duration of a transaction.
例如,您可以从数据库提取信息,并使用实体bean在事务处理期间高速缓存数据。
Receiver: an individual, corporation or other entity who has authorized an Originator to initiate a credit or debit entry to a transaction account held at an RDFI.
接收人:在RDFI的帮助下,给发起人授信或授权其在交易账户中进行记入借方操作的个人、司或其他实体。
Notice that each root entity belongs to a separate entity group, so a single transaction cannot create or operate on more than one root entity.
注意每个根实体分别属于一个组,所以在单个事务内无法创建或操作一个以上的根实体。
The tax rate at which a person, corporation or other entity would be indifferent about entering into a proposed arrangement or conducting a proposed transaction.
在此税率下,个人,公司,或其他实体将在同等条件下进入一个计划中的交易活动。
An update of a entity occurs in a transaction that is retried a fixed number of times if other processes are trying to update the same entity simultaneously.
更新的实体中发生的交易是重新稳定命手法光,假如其他过程正试图更新相反的实体同时进行。
The transaction of different accounting entities should not be accounted for together. Each accounting entity should be evaluated separately.
不同会计主体的交易不能集中核算,每一会计主体应单独进行评价。
The transaction of different accounting entities should not be accounted for together. Each accounting entity should be evaluated separately.
不同会计主体的交易不能集中核算,每一会计主体应单独进行评价。
应用推荐