java.sql.SQLException: Data truncation: Truncated incorrect DOUBLE value

mysql 报这个异常:java.sql.SQLException: Data truncation: Truncated incorrect DOUBLE value

 

update 表名 set col1 = ?  and col2 = ? where id = ?

 

改为:

update 表名 set col1 = ?  , col2 = ? where id = ? 用逗号隔开

 

posted @   悟寰轩-叶秋  阅读(1155)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示