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

          主站蜘蛛池模板: 都安| 汝城县| 资中县| 万年县| 铜梁县| 星子县| 辛集市| 汉川市| 共和县| 客服| 安义县| 洛宁县| 永福县| 炎陵县| 固镇县| 珠海市| 永春县| 临泉县| 藁城市| 友谊县| 精河县| 崇州市| 大田县| 昌吉市| 广南县| 杭州市| 吉隆县| 繁峙县| 绥江县| 乌海市| 璧山县| 务川| 乌拉特后旗| 诸城市| 承德县| 赣州市| 吴川市| 彩票| 平谷区| 保定市| 博白县|