tid是我的主键字段,我设置了初始值为-1,设置了not null,但是未设置AutoIncrement导致了以上的错误
相关文章
- mybatis向mysql数据库中插入数据报错Field 'id' doesn't have a default value
- Field 'id' doesn't have a default value错误解决方法
- MySQL之Field‘***’doesn’t have a default value错误解决办法
- Field 'id' doesn't have a default value 错误的解决办法
- Field 'id' doesn't have a default value 这个错误完美解决
- 在hibernate+mysql:Field 'id' doesn't have a default value两种解决办法
- MySQL之Field‘***’doesn’t have a default value错误解决办法
- MySQL之Field‘***’doesn’t have a default value错误解决办法
- MySQL添加新用户 出现mysql]ERROR 1364 (HY000): Field 'ssl_cipher' doesn't have a default value
- 导入mysql数据的时候提示Field * doesn't have a default value解决方法