Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'phone' at row 1

要插入的数据超出了数据库中的数据能存储的长度.所以才会有这种错误,

可以给该字段换一种数据类型.使用bigint.

相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-02-04
  • 2021-08-04
  • 2021-11-07
  • 2021-06-30
猜你喜欢
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
  • 2021-12-29
  • 2022-12-23
  • 2021-08-30
  • 2021-07-19
相关资源
相似解决方案