hibernate的错误 different object with the same identifier value was already associated with the session
hibernate的错误 different object with the same identifier value was already associated with the session
1、今天在service层,循环保存导入的教室信息即Teacher对象,
然后调用Dao层的保存方法saveTeachers(Teacher teacher),用hibernate的
ses...
转载
2018-08-05 18:49:25 ·
263 阅读 ·
0 评论