为什么提示缺少SET关键字解决方案

为什么提示缺少SET关键字Statementmystmtconn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultS

为什么提示缺少SET关键字
Statement   mystmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);

mystmt.executeUpdate( "UPDATE   bus.manager "   +   "SET   times=times+1 "   + "where   id= ' "+name+ " ' ");

[解决办法]
改成下面的试试:
mystmt.executeUpdate( "UPDATE bus.manager " + " SET times=times+1 " + "where id= ' "+name+ " ' ");

[解决办法]
加空格!