Junky's IT Notebook

          統(tǒng)計

          留言簿(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 閱讀(1537) 評論(0)  編輯  收藏 所屬分類: hibernate

          主站蜘蛛池模板: 福贡县| 龙岩市| 渝中区| 霸州市| 韶关市| 应城市| 红安县| 枝江市| 上犹县| 长垣县| 宜春市| 安化县| 东兰县| 元阳县| 石门县| 乡宁县| 西昌市| 江阴市| 同仁县| 泰和县| 香格里拉县| 舞阳县| 开鲁县| 罗田县| 安多县| 扎鲁特旗| 皋兰县| 乌拉特后旗| 安陆市| 大英县| 内丘县| 西丰县| 湘潭市| 兴宁市| 陆河县| 陆丰市| 许昌县| 临安市| 阜城县| 庆城县| 临颍县|