mysql + Eclipse 报错 Truncated incorrect DOUBLE value
Solution:
String sql = "update Department set dname=? and dintro=? where did=?; "
改为 String sql = "update Department set dname=?, dintro=? where did=?; ";
When the modified value of the plurality of columns needed "" connected, instead of "and"