Advertisement

Field 'id' does not have a default value; field error in object 'xxx' on field 'XXX' is rejected value.

阅读量:

出现异常状况:

复制代码
    ### The error occurred while setting parameters
    ### SQL: insert into product(productNum,productName,cityName,departureTime,productPrice,productDesc,productStatus) values(?,?,?,?,?,?,?)
    ### Cause: java.sql.SQLException: Field 'id' doesn't have a default value
    ; ]; Field 'id' doesn't have a default value; nested exception is java.sql.SQLException: Field 'id' doesn't have a default value
    2020-12-15 16:03:59,733 76658  [io-8888-exec-10] DEBUG efaultHandlerExceptionResolver  - Resolving exception from handler [public java.lang.String candy.ssm.controller.ProductCont

全部评论 (0)

还没有任何评论哟~