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

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下载
官方微信