hibernate Row was updated or deleted by another transaction

  在開發免費ERP 2BizBox 的過程當中,更新一個員工的時候,hibernate出現了以下錯誤:數據庫   Row was updated or deleted by another transaction 。hibernate   最後經過排查是因爲用於記錄數據版本的字段version 爲NULL,正常使用不可能爲NULL,多是因爲直接操做數據庫形成的, 經過以下語句,把NULL 改爲0
相關文章
相關標籤/搜索