This is my Blog!!Welcome to you!!
【分享个人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”

 

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

未经允许不得转载:Java学习 » id自增异常Field ‘id’ doesn’t have a default value

分享到:更多 ()

评论 抢沙发