a different object with the same identifier value was already associated with th
a different object with the same identifier value was already associated with the session
原因:在更新Entity前,从数据库中通过T instance = (T) getHibernateTemplate().get(type, id)方式取得有同样Id的实体oldEntity,所以在调用getHiber...
原创
2010-06-24 13:45:31 ·
84 阅读 ·
0 评论