hibernate merge方法返回对象没有id用save方法可以得到,a different object with the same identifier val
hibernate merge方法返回对象没有id
用save方法可以得到,
a different object with the same identifier value was already associated with the session
该异常先session.clear()一下,再操作。
hibernate merge方法返回对象没有id
用save方法可以得到,
a different object with the same identifier value was already associated with the session
该异常先session.clear()一下,再操作。