org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was
使用Hibernate写update方法时,出现了org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was already associated with the session:意思就是另一个对象的id(id同值)已经被session关联了。