场景:我想存一个长一点的字段,大改几百字,但是报错,经过三个小时的查找,找到解决方案
spring.datasource.url=jdbc:mysql://localhost:3306/conweb?sessionVariables=sql_mode='NO_ENGINE_SUBSTITUTION'&jdbcCompliantTruncation=false
error:Data truncation: Data too long for column 'last_name' at row 1
阅读 77
2022-06-22
场景:我想存一个长一点的字段,大改几百字,但是报错,经过三个小时的查找,找到解决方案
spring.datasource.url=jdbc:mysql://localhost:3306/conweb?sessionVariables=sql_mode='NO_ENGINE_SUBSTITUTION'&jdbcCompliantTruncation=false
相关推荐
精彩评论(0)