返回顶部

摘要: 1.发生场景 报错发生的情况是这样,在service中,先调用了JPA的 deleteAllByxxx 方法,再调用JPA的 save 方法插入了新的数据。 报错信息如下: "javax.persistence.TransactionRequiredException: No EntityManag 阅读全文
posted @ 2021-06-05 15:51 雨山木风 阅读(2928) 评论(0) 推荐(0) 编辑