问答详情
源自:3-11 用户模型管理--用户注册功能实现02

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

提问者:杭电鬼先生 2019-01-21 20:37

个回答

  • 杭电鬼先生
    2019-01-21 20:43:31

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