由于增删改方法上面没有加开启事务,数据库操作方法或Service类上加@Transactional 即可
No EntityManager with actual transaction available for current thread - cannot reliably process 'XXX
猜你喜欢
转载自blog.csdn.net/weixin_38168050/article/details/105074632
今日推荐
周排行