currentRs = null;
    public int executeUpdate() throws SQLException {        Object syncObject = getSynchronizationObject();                synchronized(syncObject) {            try {                c.ensureInTransaction();                                prepareFixedStatement(procedureCall.getSQL(), true);                                /*                // R.Rokytskyy: JDBC CTS suite uses executeUpdate()                // together with output parameters, therefore we cannot                // throw exception if we want to pass the test suite                                if (internalExecute(true))                     throw new FBSQLException(                    "Update statement returned results.");                */                                boolean hasResults = internalExecute(true);                                if (hasResults && c.willEndTransaction())                    getCachedResultSet(false);                                if (hasResults)                    setRequiredTypes();                                return getUpdateCount();                            } catch(GDSException ex) {                throw new FBSQLException(ex);            } finally {                c.checkEndTransaction();            }        }    }