The RequiresNew transaction type is different.
RequiresNew事务类型不同。
The RequiresNew transaction attribute is an interesting one.
RequiresNew事务属性非常有趣。
In the Container transaction type, select RequiresNew, select send method and click Finish.
在Containertransactiontype中选择RequiresNew,选择send方法并单击Finish。
If you do meet the prerequisites, select Required or RequiresNew for the Container transaction type.
如果您确实满足这些先决条件,就请为Containertransactiontype选择Required或RequiresNew。
Interleaved transactions are enabled when a bean method's transaction attribute is set to RequiresNew in the deployment descriptor.
当bean方法的事务属性在部署描述符中设置为RequiresNew时,可以支持交叉事务。
The EJB container starts a global transaction when the EJB methods are configured with the Required or RequiresNew transaction attribute.
当使用Required或RequiresNew事务属性配置了EJB方法时,EJB容器就启动一个全局事务。
Suppose you take the EJB from Listing 1 and deploy it using container-managed transactions and a transactional attribute of RequiresNew for the business method.
假定取用清单1中的EJB,并用容器托管的事务部署它,将业务方法的事务属性设定为RequiresNew。
The code for other EJB types is similar, except for the trans-attribute attribute that is set to Required for stateless beans and to RequiresNew for the identifier-generating bean.
其他EJB类型的代码相似,只有trans-attribute属性除外,对于无状态bean它被设置为Required,对于标识符生成 bean 被设置为RequiresNew。
The code for other EJB types is similar, except for the trans-attribute attribute that is set to Required for stateless beans and to RequiresNew for the identifier-generating bean.
其他EJB类型的代码相似,只有trans-attribute属性除外,对于无状态bean它被设置为Required,对于标识符生成 bean 被设置为RequiresNew。
应用推荐