做数据库的修改时出现的,HibernateException:identifier of an instance of pojo.Order was altered from 23 to 8

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/08 22:56:26
做数据库的修改时出现的,HibernateException:identifierofaninstanceofpojo.Orderwasalteredfrom23to8做数据库的修改时出现的,Hibe

做数据库的修改时出现的,HibernateException:identifier of an instance of pojo.Order was altered from 23 to 8
做数据库的修改时出现的,
HibernateException:identifier of an instance of pojo.Order was altered from 23 to 8

做数据库的修改时出现的,HibernateException:identifier of an instance of pojo.Order was altered from 23 to 8
Order的一个数据库记录的 id被 从23 改为8.
id应该是不能改的.