我遇到了一个问题,通过“上下文查找”从远程客户端调用EJB (持久化实体),然后执行不同的事务。每次我调用statefull容器托管EJB时,它都会提交,并且在出现错误时不会回滚。我的伪代码:transactionController.persist(getCurrentEntity());和我的EJB: public class TransactionC
在构建带有依赖项的maven项目时,我一直收到以下错误: Exception Description: The target entity of the relationship attribute cannot be determined. When not using generics, ensure the target entity is
defined on the relationship mapping. 我有这两个实体,代码如下