读书人

Batch update returned unexpected ro

发布时间: 2012-09-19 13:43:54 作者: rapoo

Batch update returned unexpected row count from update [2]; actual row count

Batch update returned unexpected row count from update [2]; actual row count

?

在网上找了很久找到解决办法都不能解决得了,后来发现hibernate对对象持久化后,对象更改了,在事务提交时,会把更改的对象持久化到数据库,而在持久化到数据库之前,这条数据已经被删除,故导致以上问题。

读书人网 >PowerDesigner

热点推荐