![]() |
1
4
这些更改在WildFly8中推出,并且(如下面所述)基于EJB3.1中全局JNDI名称空间的标准化。 来自Wildfly 8 Developer Guide :
指南进一步说明:
这是表中显示的一个片段
Examples of JNDI mappings in previous releases and how they might look now
特定于
编辑回复:wflyejb0137: 这是理论技巧,可能毫无价值-让我知道,我会删除它。 Java EE 6 Tutorial - Container-Managed Transactions 说:
进一步:
异常消息几乎说明了一切:
您的EJB使用的是容器管理事务(CMT)划分,它不与bean管理事务(BMT)划分交互操作,其中
关于切换到BMT和
我找到了 Transaction is required to perform this operation (either use a transaction or extended persistence context) 这似乎表明交易将由您管理,正如您在您的评论@marco中所指出的。您似乎已进行了适当的修改。 |
![]() |
Vijay Kumar · 容器管理EJB中的Bean管理事务 9 年前 |
![]() |
a bouchenafa · “未捕获范围错误:超过了最大调用堆栈大小” 11 年前 |
![]() |
Richard Santana · 数据库架构不是在EAR应用程序中生成的 11 年前 |