Junky's IT Notebook

          統(tǒng)計(jì)

          留言簿(8)

          積分與排名

          WebSphere Studio

          閱讀排行榜

          評(píng)論排行榜

          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) 評(píng)論(0)  編輯  收藏 所屬分類: hibernate

          主站蜘蛛池模板: 郎溪县| 麻城市| 潼南县| 会泽县| 兴山县| 宿迁市| 扎鲁特旗| 静宁县| 青浦区| 四平市| 新巴尔虎右旗| 平南县| 德格县| 甘南县| 滦南县| 日喀则市| 华容县| 依兰县| 雅安市| 南汇区| 临澧县| 霍林郭勒市| 永善县| 沛县| 夹江县| 民丰县| 九台市| 安福县| 峨眉山市| 苗栗市| 阿拉善右旗| 蒙阴县| 衡阳县| 楚雄市| 德令哈市| 若羌县| 香格里拉县| 贵德县| 陆良县| 沾化县| 沭阳县|