public synchronized int executeUpdate(String sql) throws SQLException {

        fetchResult(sql, StatementTypes.RETURN_COUNT,
                    JDBCStatementBase.NO_GENERATED_KEYS, null, null);

        return resultIn.getUpdateCount();
    }
public synchronized int executeUpdate ( String sql ) throws SQLException { fetchResult ( sql , StatementTypes . RETURN_COUNT , JDBCStatementBase . NO_GENERATED_KEYS , null , null ) ; return resultIn . getUpdateCount ( ) ; }
<!-- start generic documentation -->
Executes the given SQL statement, which may be an <code>INSERT</code>,
<code>UPDATE</code>, or <code>DELETE</code> statement or an
SQL statement that returns nothing, such as an SQL DDL statement.
<!-- end generic documentation -->

@param sql (JDBC4 clarification:) an SQL Data Manipulation Language (DML) statement, such as <code>INSERT</code>, <code>UPDATE</code> or
<code>DELETE</code>; or an SQL statement that returns nothing,
such as a DDL statement.

@return (JDBC4 clarification:) either (1) the row count for SQL Data Manipulation Language (DML) statements
or (2) 0 for SQL statements that return nothing

@exception SQLException if a database access error occurs,
this method is called on a closed <code>Statement</code> or the given
SQL statement produces a <code>ResultSet</code> object