Caused by: org.hibernate.HibernateException: identifier of an instance of
tv.huan.education.entity.Dictionary was altered from PT_01 to PT_02
在一个事务中更新了主键,而主键是不能被更新的
解决方案:创建一个实例对象,重新设值
Caused by: org.hibernate.HibernateException: identifier of an instance of
tv.huan.education.entity.Dictionary was altered from PT_01 to PT_02
在一个事务中更新了主键,而主键是不能被更新的
解决方案:创建一个实例对象,重新设值