UPDATE userInfo SET age=123, class='2016-05' WHERE name='张三'使用Statement去执行
这个跟java没有关系 你直接去百度where in 就知道了
update userinfo t set t.age=?,t.class=? where t.name=?