3.2.4.3 Changing Cached Data

RDS Transport Protocol uses the processing event in section 3.2.4.2 to populate a local RecordSet. The RDS Transport Protocol client exposes methods allowing data in a RecordSet to be modified. These modifications can include inserts, updates, and deletes against the RecordSet data.

The client-side RecordSet tracks these changes. Changes are tracked as a series of modification commands to the client-side RecordSet. The client RecordSet also retains the original values for the specified changes. In this scenario, the changes stored in the local cache are not sent back to the data store. They are used for the duration on the client. When the client is finished with the temporary results, it releases the RecordSet, and the changes are discarded.<71>