当我使用session.update(object)时,我得到以下错误,我该如何纠正此错误? 我甚至试过Session.evict(对象),但仍然是一个没有解决的下面的错误具有相同标识符值的不同对象已与会话相关联:10,实体:Sales.Entities.Ttable1
a different object with the same identifier value was already associated with the session: 10, of entity: Sales.Entities.TTable
请标记为正确的答案! – Joel 2014-03-25 16:36:16