Data truncation: Out of range value for column 'id' at row 1 ### The
Posted Doyourself!
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Data truncation: Out of range value for column 'id' at row 1 ### The相关的知识,希望对你有一定的参考价值。
org.springframework.dao.DataIntegrityViolationException: ### Error updating database. Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column ‘id‘ at row 1 ### The error may involve com.baomidou.springwind.mapper.ActivityMapper.insert-Inline ### The error occurred while setting parameters ### SQL: INSERT INTO activity ( id, title, tag, content, `state`, add_time, update_time, places, deposit, full_price ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) ### Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column ‘id‘ at row 1 ; SQL []; Data truncation: Out of range value for column ‘id‘ at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column ‘id‘ at row 1
解决办法: 数据库 主键id 类型由int改为 bigInt
以上是关于Data truncation: Out of range value for column 'id' at row 1 ### The的主要内容,如果未能解决你的问题,请参考以下文章
MyBatis-plus 提示 Data truncation: Out of range value for column ‘id‘ at row 1
mysql Out of range value adjusted for column导致Warning(1265)Data truncated for column 'column_nam
r 将数据输入和输出剪贴板等来自http://rfordummies.com/sample-code/chapter-12-getting-data-into-and-out-of-r/
IndexError: list index out of range list超出了?要怎么改?
Android Studio 使用 SVN 必然遇到问题:commit ** File out of data 问题解决方法
R语言报错:Error in psi[j, t] <- which.max(preProb) : subscript out of bounds