加载中...
加载中...
org.hibernate.NonUniqueObjectException

org.hibernate.NonUniqueObjectException 原创

nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.nstc.fts.domain.BcmAccountGroup#49]

解决方法:

this.getHibernateTemplate().flush();
this.getHibernateTemplate().getSessionFactory().getCurrentSession().clear();

this.getHibernateTemplate().update(bcmAccountGroup);

没有更多推荐了 [去首页]
image
文章
357
原创
284
转载
73
翻译
0
访问量
199063
喜欢
47
粉丝
6
码龄
5年
资源
0

文章目录

加载中...
0
0