MySql_ErrorCode1364

Unable to translate SQLException with Error code '1364'

error code [1364]; Field 'id' doesn't have a default value; nested exception is java.sql.SQLException: Field 'id' doesn't have a default value

数据库字段 id  没有设置自增,导致在插入时,没有默认值。

你可能感兴趣的:(MySql_ErrorCode1364)