返回false就对了, true if the first result is a ResultSet object; false if the first result is an update count or there is no resultexecute method returns a boolean to indicate the form of the first result. You must call either the method getResultSet or getUpdateCount to retrieve the result; you must call getMoreResults to move to any subsequent result(s).
true if the first result is a ResultSet object; false if the first result is an update count or there is no resultexecute method returns a boolean to indicate the form of the first result. You must call either the method getResultSet or getUpdateCount to retrieve the result; you must call getMoreResults to move to any subsequent result(s).
建议用executeUpdate()来执行,其返回值为更新的记录数
一般都用executeUpdate()或executeQuery()