{@inheritDoc}

@see java.sql.ResultSet#updateNClob(java.lang.String, java.sql.NClob)
429663
@Override
	public void updateNClob(final String columnLabel, final NClob nClob) throws SQLException {
		wrapped.updateNClob(columnLabel, nClob);
	}
506969
public static int update(String sql, Object... args) {
		int result = 0;
		Connection con = getconnnection();
		PreparedStatement ps = null;
		try {
			ps = con.prepareStatement(sql);
			if (args != null) {
				for (int i = 0; i < args.length; i++) {
					ps.setObject((i + 1), args[i]);
				}
			}
			result = ps.executeUpdate();
		} catch (SQLException e) {
			e.printStackTrace();
		} finally {
			close(ps, con);
		}

		return result;
	}
1372900
public int update(DatabaseConnection databaseConnection, T data, ObjectCache objectCache) throws SQLException {
		if (mappedUpdate == null) {
			mappedUpdate = MappedUpdate.build(dao, tableInfo);
		}
		int result = mappedUpdate.update(databaseConnection, data, objectCache);
		if (dao != null && !localIsInBatchMode.get()) {
			dao.notifyChanges();
		}
		return result;
	}
882900
public static NClob createNClob(final Connection conn) {
		try {
			return conn.createNClob();
		} catch (SQLException e) {
			throw new UroborosqlRuntimeException(e);
		}
	}
271378
public synchronized void insert (Connection conn, T obj)
        throws SQLException
    {
        StringBuilder sql = new StringBuilder(
            "insert into " + name + " (" + listOfFields + ") values (?");
        for (int i = 1; i < nColumns; i++) {
            sql.append(",?");
        }
        sql.append(")");
        PreparedStatement insertStmt = conn.prepareStatement(sql.toString());
        bindUpdateVariables(insertStmt, obj, null);
        insertStmt.executeUpdate();
        insertStmt.close();
    }
217032
@Override
	public void updateRef(final String columnLabel, final Ref x) throws SQLException {
		wrapped.updateRef(columnLabel, x);
	}
480768
public static base_responses update(nitro_service client, nsacl resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nsacl updateresources[] = new nsacl[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nsacl();
				updateresources[i].aclname = resources[i].aclname;
				updateresources[i].aclaction = resources[i].aclaction;
				updateresources[i].srcip = resources[i].srcip;
				updateresources[i].srcipop = resources[i].srcipop;
				updateresources[i].srcipval = resources[i].srcipval;
				updateresources[i].srcport = resources[i].srcport;
				updateresources[i].srcportop = resources[i].srcportop;
				updateresources[i].srcportval = resources[i].srcportval;
				updateresources[i].destip = resources[i].destip;
				updateresources[i].destipop = resources[i].destipop;
				updateresources[i].destipval = resources[i].destipval;
				updateresources[i].destport = resources[i].destport;
				updateresources[i].destportop = resources[i].destportop;
				updateresources[i].destportval = resources[i].destportval;
				updateresources[i].srcmac = resources[i].srcmac;
				updateresources[i].protocol = resources[i].protocol;
				updateresources[i].protocolnumber = resources[i].protocolnumber;
				updateresources[i].icmptype = resources[i].icmptype;
				updateresources[i].icmpcode = resources[i].icmpcode;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].Interface = resources[i].Interface;
				updateresources[i].priority = resources[i].priority;
				updateresources[i].logstate = resources[i].logstate;
				updateresources[i].ratelimit = resources[i].ratelimit;
				updateresources[i].established = resources[i].established;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
533460
@Override
    public void setNClob(int parameterIndex, NClob value) throws SQLException
    {
        checkParameterBounds(parameterIndex);
        throw SQLError.noSupport();
    }
637571
@Override
    protected void update(List<TableInfo> tableInfos)
    {
        for (TableInfo tableInfo : tableInfos)
        {
            try
            {
                if (!client.tableExists(tableInfo.getTableName()))
                {
                    createKuduTable(tableInfo);
                }
                else
                {
                    List<String> entityColumns = new ArrayList<String>();
                    KuduTable table = client.openTable(tableInfo.getTableName());
                    AlterTableOptions alterTableOptions = new AlterTableOptions();
                    AtomicBoolean updated = new AtomicBoolean(false);
                    Schema schema = table.getSchema();
                    // add modify columns
                    for (ColumnInfo columnInfo : tableInfo.getColumnMetadatas())
                    {
                        entityColumns.add(columnInfo.getColumnName());
                        alterColumn(alterTableOptions, schema, columnInfo, updated);
                    }
                    // update for embeddables logic
                    for (EmbeddedColumnInfo embColumnInfo : tableInfo.getEmbeddedColumnMetadatas())
                    {
                        for (ColumnInfo columnInfo : embColumnInfo.getColumns())
                        {
                            entityColumns.add(columnInfo.getColumnName());
                            alterColumn(alterTableOptions, schema, columnInfo, updated);
                        }
                    }

                    // delete columns
                    for (ColumnSchema columnSchema : schema.getColumns())
                    {
                        // if not in tableInfo and not a key then delete
                        if (!entityColumns.contains(columnSchema.getName()) && !columnSchema.isKey())
                        {
                            alterTableOptions.dropColumn(columnSchema.getName());
                            updated.set(true);
                        }
                    }

                    if (updated.get())
                    {
                        client.alterTable(tableInfo.getTableName(), alterTableOptions);
                    }
                }
            }
            catch (Exception e)
            {
                logger.error("Error while updating tables, Caused by: " + e.getMessage());
                throw new KunderaException("Error while updating tables, Caused by: " + e.getMessage());
            }
        }
    }
815497
public static void update(CallInfo callInfo, DataSet data) {
    Table table = asTable(data.getSource()); 
    List<String> keyColumns = table.getKeyColumns();
    
    if (keyColumns.isEmpty()) {
      throw new InvalidOperationException("No key columns defined.");
    }

    List<String> tableColumns = table.getColumns();
    int columnCount = tableColumns.size();
    List<String> columnsToUpdate = new LinkedList<>();
    columnsToUpdate.addAll(tableColumns);
    columnsToUpdate.removeAll(keyColumns);

    if (columnsToUpdate.isEmpty()) {
      throw new InvalidOperationException("No columns to update.");
    }

    // Build SQL statement
    int[] paramIdx = new int[columnCount];
    int param = 0;
    StringBuilder sql = new StringBuilder("UPDATE ");
    Iterator<String> itr = columnsToUpdate.iterator();
    String col = itr.next();
    paramIdx[tableColumns.indexOf(col)] = ++param;
    sql.append(table.getName())
       .append(" SET ")
       .append(col)
       .append("=?");
    
    while (itr.hasNext()) {
      col = itr.next();
      paramIdx[tableColumns.indexOf(col)] = ++param;
      sql.append(',')
         .append(col)
         .append("=?");
    }
    
    itr = keyColumns.iterator();
    col = itr.next();
    paramIdx[tableColumns.indexOf(col)] = ++param;
    sql.append(WHERE_)
       .append(col)
       .append("=?");
    
    while (itr.hasNext()) {
      col = itr.next();
      paramIdx[tableColumns.indexOf(col)] = ++param;
      sql.append(AND_)
         .append(col)
         .append("=?");
    }
    
    table.setDirtyStatus(true);
    dataSetOperation(callInfo, table, data, sql.toString(), paramIdx);
  }
279940
@Override
	public void updateBlob(final String columnLabel, final Blob x) throws SQLException {
		wrapped.updateBlob(columnLabel, x);
	}
882530
@Override
	public void updateNString(final String columnLabel, final String nString) throws SQLException {
		wrapped.updateNString(columnLabel, nString);
	}
772867
@Override
    public void setBlob(int parameterIndex, Blob x) throws SQLException
    {
        checkParameterBounds(parameterIndex);
        throw SQLError.noSupport();
    }
1299707
@Trace(dispatcher = true)
	public void updateRecord(Long recordId, Long domainId, String name, String content) throws GloboDnsException {
		NewRelic.setTransactionName(null, "/globodns/updateRecord");
		if (recordId == null) {
			throw new GloboDnsException("Record id cannot be null");
		}
		
		Record record = new Record();
		if (domainId != null)
			record.getGenericRecordAttributes().setDomainId(domainId);
		if (name != null)
			record.getGenericRecordAttributes().setName(name);
		if (content != null)
			record.getGenericRecordAttributes().setContent(content);
		
		GloboDnsRoot<Record> globoDnsRoot = this.put("/records/" + recordId + ".json", record, false);
		if (globoDnsRoot == null) {
			throw new GloboDnsException("Invalid response");
		}
		return;
	}
852591
@Override
    public NClob getNClob(int columnIndex) throws SQLException {
        checkColumnBounds(columnIndex);
        try {
            return new JDBC4NClob(table.getString(columnIndex - 1)
                    .toCharArray());
        } catch (Exception x) {
            throw SQLError.get(x);
        }
    }
30935
public int executeUpdate(Connection conn, DataObject object) throws SQLException {
        PreparedStatement statement = conn.prepareStatement(_sql);
        try {
            load(statement, object);
            return statement.executeUpdate();
        } finally {
            statement.close();
        }
    }
112829
@Override
	public void updateNString(final int columnIndex, final String nString) throws SQLException {
		wrapped.updateNString(columnIndex, nString);
	}