org.springframework.dao.DataIntegrityViolationException:

Error updating database. Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: ‘222’ for column ‘create_time’ at row 1

传入sql的值错误,不匹配报错
案例中将time传为了int
org.springframework.dao.DataIntegrityViolationException:

相关文章:

  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-20
  • 2021-07-19
  • 2021-10-09
  • 2021-06-10
  • 2021-06-22
  • 2022-02-14
相关资源
相似解决方案