Transactions Weblogic事务行为

Transactions Weblogic事务行为,transactions,ejb,weblogic,Transactions,Ejb,Weblogic,我正在开发一个旧的EJB2应用程序。 在ejb-jar.xml中,我看到: <container-transaction> <method><ejb-name><method-name>someMethod... <trans-attribute>Required</trans-attribute> 某种方法。。。 要求的 这是否意味着“someMethod()”中的所有调用都在事务中? 我问这个问题是因为我在so

我正在开发一个旧的EJB2应用程序。 在ejb-jar.xml中,我看到:

<container-transaction>
 <method><ejb-name><method-name>someMethod...
 <trans-attribute>Required</trans-attribute>

某种方法。。。
要求的
这是否意味着“someMethod()”中的所有调用都在事务中? 我问这个问题是因为我在someMethod()中有几个db插入,当后续的一个插入失败时,第一个插入不会回滚,我认为在事务中必然会回滚

我是否需要调整其他设置,以便Weblogic对任何插入异常进行回滚