code: public int executeUpdateSQL(
          String sqlStatement,
          ClassDescriptor cld,
          ValueContainer[] values1,
          ValueContainer[] values2)
          throws PersistenceBrokerException
      {
          if (logger.isDebugEnabled())
              logger.debug("executeUpdateSQL: " + sqlStatement);
  
          int result;
          int index;
          PreparedStatement stmt = null;
          final StatementManagerIF sm = broker.serviceStatementManager();
          try
          {
              stmt = sm.getPreparedStatement(cld, sqlStatement,
                      Query.NOT_SCROLLABLE, StatementManagerIF.FETCH_SIZE_NOT_APPLICABLE, isStoredProcedure(sqlStatement));
              index = sm.bindValues(stmt, values1, 1);
              sm.bindValues(stmt, values2, index);
              result = stmt.executeUpdate();
          }
          catch (PersistenceBrokerException e)
          {
              logger.error("PersistenceBrokerException during the execution of the Update SQL query: " + e.getMessage(), e);
              throw e;
          }
          catch (SQLException e)
          {
              ValueContainer[] tmp = addValues(values1, values2);
              throw ExceptionHelper.generateException(e, sqlStatement, cld, tmp, logger, null);
          }
          finally
          {
              sm.closeResources(stmt, null);
          }
          return result;
      }
docs: performs a SQL UPDTE, INSERT or DELETE statement against RDBMS.
  @param sqlStatement the query string.
  @param cld ClassDescriptor providing meta-information.
  @return int returncode