com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE

提示的原因是“ xxx  ”double型不是正确的,错误的原因在于把数据库 update user  set username='xxx',password='yyy' where id='zzz' 错写成 update user  set username='xxx' and password='yyy' where id='zzz' 将分隔符,错写为and 如果是用ssm框架的话,正确的写法
相关文章
相关标签/搜索