博主首页

identifier of an instance of com.peony.common.entity.po.TaskGroupPO was altered from to 2c288aa6-b1

identifier of an instance of com.peony.common.entity.po.TaskGroupPO was altered from  to 2c288aa6-b1

 

 

JPA :这个错误是由于在一个事务中更新了主键,而主键是不能被更新的.

 

可能操作:查询出来,然后set了一次主键id

 

posted @ 2022-08-31 20:09  笑~笑  阅读(23)  评论(0)    收藏  举报