hibernate merge方法返回对象没有id
用save方法可以得到,
a different object with the same identifier value was already associated with the session
该异常先session.clear()一下,再操作。
发布时间: 2012-06-28 15:20:04 作者: rapoo
hibernate merge方法返回对象没有id
用save方法可以得到,
a different object with the same identifier value was already associated with the session
该异常先session.clear()一下,再操作。