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框架的話,正確的寫法
相關文章
相關標籤/搜索