<分区>
Possible Duplicate:
Hibernate: different object with the same identifier value was already associated with the session
为什么我在Hibernate异常中得到的一些对象,打印出来时带有@符号,会出现这样的情况:
无法删除对象
db.item.model.Inventory@21d321bb
但有些看起来像这样:
org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [db.item.model.Inventory#9369629]
在#符号后有标识符?