程序员一代码搬运工
【Java学习心得和Java学习技术个人总结】

id自增异常Field ‘id’ doesn’t have a default value

### Cause: java.sql.SQLException: General error, message from server: “Field ‘id’ doesn’t have a default value
; SQL []; General error, message from server: “Field ‘id’ doesn’t have a default value”; nested exception is java.sql.SQLException: General error, message from server: “Field ‘id’ doesn’t have a default value“] with root cause
java.sql.SQLException: General error, message from server: “Field ‘id’ doesn’t have a default value”

 

数据库 忘记设置自增了 。就这么简单

未经允许不得转载:程序员一代码搬运工 » id自增异常Field ‘id’ doesn’t have a default value

分享到:更多 ()