IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > JDBC > Overview of IBM WebSphere Adapter for JDBC > Technical overview > Outbound processing > Outbound operations

UpdateAll operation

The UpdateAll operation updates multiple database records at a time, and returns the record count to indicate how many records have been updated.

The UpdateAll operation uses the UpdateAllInput business object as the input parameter. The UpdateAllInput business object has two child business object attributes querysample and valuesample. These attributes belong to the table business object type. The adapter uses the querysample attribute to filter the records that must be updated and the valuesample attribute to update all the matching records.

The following screen illustrates the structure of the UpdateAllInput business object. The name of the business object contains the schema name followed by the database table name and then the business object name, <schemaName><tableName>UpdateAllInput.

The output of the UpdateAll operation is UpdateAllResult business object, which contains the recordcount attribute. The following screen illustrates the structure of the UpdateAllResult business object returned from an UpdateAll operation.

To process the UpdateAll operation, the adapter performs the following actions:

You can use the SQL capabilities to full extent for querying records by using child business object attributes or user-defined query criteria for operations.

Outbound operations


Related concepts:

Create operation

Retrieve operation

RetrieveAll operation

Update operation

ApplyChanges operation

Delete operation

DeleteAll operation

Execute operation

Exists operation

Upsert operation

Batch operations

DeleteAll operation

RetrieveAll operation

Exists operation

User-defined query criteria for operations

Matching records using child business object attributes


Related tasks:

Setting global properties for operations and creating wrapper business objects


Related reference:

Interaction specification properties