public abstract int getUpdateCount () throws SQLException

Retrieves the current result as an update count; if the result is a ResultSet object or there are no more results, -1 is returned. This method should be called only once per result.

Returns:  the current result as an update count; -1 if the current result is a ResultSet object or there are no more results

Exceptions:
SQLException    if a database access error occurs or this method is called on a closed Statement

See also:
execute