首页 > 其他分享 >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

时间:2022-08-31 20:11:31浏览次数:95  
标签:altered peony entity instance b1 was 主键

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

 

 

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

 

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

 

标签:altered,peony,entity,instance,b1,was,主键
From: https://www.cnblogs.com/qq376324789/p/16644394.html

相关文章