为了账号安全,请及时绑定邮箱和手机立即绑定

ause: java.sql.SQLException: Field 'id' doesn't have a default value ### The error may involve com.miaoshaproject.dao.UserPasswordDOMapper.insertSelective-Inline ### The error occurred while setting parameters ### SQL: insert into user_password ( enc

ause: java.sql.SQLException: Field 'id' doesn't have a default value ### The error may involve com.miaoshaproject.dao.UserPasswordDOMapper.insertSelective-Inline ### The error occurred while setting parameters ### SQL: insert into user_password      ( enc

正在回答

1 回答

就是user_info和user_password两张表的id都要设置自增长,打扰了

0 回复 有任何疑惑可以回复我~
#1

lastliao

在可视化工具里已经设置了两张表的id自增,还是会报这个错误
2019-01-28 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

ause: java.sql.SQLException: Field 'id' doesn't have a default value ### The error may involve com.miaoshaproject.dao.UserPasswordDOMapper.insertSelective-Inline ### The error occurred while setting parameters ### SQL: insert into user_password ( enc

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号