1、java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
at com.mysql.jdbc.Statement.checkForDml(Statement.java:298)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:950)
错误原因: executeUpdate和executeQuery看看sql的执行语句,是查询还是更新
at com.mysql.jdbc.Statement.checkForDml(Statement.java:298)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:950)
错误原因: executeUpdate和executeQuery看看sql的执行语句,是查询还是更新