a different object with the same identifier value was already associated with the session:
项目是ssh注解,用了网上几种方法都无效最后使用以下代码可以public void m_save(T o) throws AuthException { Session session = this.getCurrentSession(); session.clear(); this.getCurrentSession().merge(o);...
原创
2018-07-24 13:40:56 ·
232 阅读 ·
0 评论