今天报了一个新的错,原因是实体类中一个字段没有写进映射中:

就是图中注销的那一个,这个是后来错误重现时候注销的;

【报错】MySQLIntegrityConstraintViolationException:Column cannot be null

【报错】MySQLIntegrityConstraintViolationException:Column cannot be null

console中报的错:

【报错】MySQLIntegrityConstraintViolationException:Column cannot be null

【报错】MySQLIntegrityConstraintViolationException:Column cannot be null


把没有写进mapper.xml文件的deleted属性和deleted表的列的映射写进去就好了;











相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-20
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-09
  • 2021-09-26
  • 2021-07-20
  • 2022-01-18
  • 2021-05-21
  • 2021-05-31
  • 2021-07-01
相关资源
相似解决方案