Junky's IT Notebook

          統(tǒng)計(jì)

          留言簿(8)

          積分與排名

          WebSphere Studio

          閱讀排行榜

          評論排行榜

          ERROR AbstractBatcher:61 - Exception executing batch

          Exception happens when deleting an object.

          Solution

          You tried to delete an object that was allready deleted from the database.

          This can happen when cascading deletes where performed somewhere and you did not reattach your object. For deleting you do not nee to reattach your object but this could prevent this problem. 



          Exception Message

          19:47:56,078 ERROR AbstractBatcher:61 - Exception executing batch: 
          org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
          at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
          at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
          at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
          at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
          at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
          at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
          at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
          at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
          at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
          at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)

          posted on 2007-11-07 11:49 junky 閱讀(1542) 評論(0)  編輯  收藏 所屬分類: hibernate

          主站蜘蛛池模板: 定兴县| 焦作市| 城步| 株洲县| 宝坻区| 拜城县| 乌海市| 慈利县| 江安县| 左贡县| 柯坪县| 哈巴河县| 青阳县| 竹山县| 恩施市| 株洲县| 利津县| 黄浦区| 霍山县| 自治县| 南昌市| 乐安县| 和顺县| 当雄县| 启东市| 大厂| 光泽县| 阿克苏市| 云龙县| 扎赉特旗| 同仁县| 准格尔旗| 壤塘县| 阿瓦提县| 老河口市| 若尔盖县| 彰化县| 巴彦县| 嘉善县| 定南县| 浙江省|