MySQL中update 语句报错:nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE
解决方法:将update test set a=? and b=? where id=?;改为update test set a=?,b=? where id=?;就可以了。
来自Lujishu-lujishu.net的文章,链接:http://article.lujishu.net/viewarticle/220151518007010。本文章由作者发布,不代表本站观点,如有侵权,请联系我们撤下该文章。