a different object with the same identifier value was already associated with the session:
hibernate操作:
实例化两个model类,更新时会提示
a different object with the same identifier value was already associated with the session:
解决方法:merge
hibernate操作:
实例化两个model类,更新时会提示