摘要: 1 public static ArrayList> query(Connection conn,String sql, Object[] paras) throws Exception { 2 PreparedStatement statement = null; 3 ... 阅读全文
posted @ 2015-05-07 18:08 浪荡小新 阅读(785) 评论(0) 推荐(0) 编辑
摘要: 使用?占位符写MYSQL查询语句,执行报错 1 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresp... 阅读全文
posted @ 2015-05-07 17:25 浪荡小新 阅读(1749) 评论(0) 推荐(0) 编辑