- 博客(1)
- 收藏
- 关注
转载 级联保存时:A different object with the same identifier value was already associated with the session
错误:hibernate级联保存,报错A different object with the same identifier value was already associated with the session 解决方案:使用getHibernateTemplate().merge();方法来保存原因:从上下文来看,这里在保存前先去数据库中取了一次数据(放session缓存里),然后在保存的...
2018-06-11 14:56:53 285
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人