Cause: java.sql.BatchUpdateException: Field 'XXX' doesn't have a def 解決

測試環境報錯,Cause: java.sql.BatchUpdateException: Field 'bind_status' doesn't have a def,錯誤大意是 無效的"bind_status"字段沒有默認值。檢查了下 數據庫,發現有人改了數據庫 加了bind_status字段由於bind_status字段不能爲null,而程序中mybatis的insert語句少了這個字段,導致
相關文章
相關標籤/搜索