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

小编

关注

阅读 122

2022-09-03

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_ide

 

 

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

 

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

 



精彩评论(0)

0 0 举报