Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java Reference

 

UpdateResultSet

Syntax
public ianywhere.ml.script.UpdateResultSet
Remarks

A result set object including special methods for accessing the pre-image (old) and post-image (new) values of a specified row. To obtain an UpdateResultSet instance, use the DownloadTableData.getUpdates method.

UpdateResultSet extends java.sql.ResultSet and adds the setNewRowValues and setOldRowValues methods. Otherwise it can be used as a regular resultset. Consult your Java SDK documentation for more information about java.sql.ResultSet

See also
Members

All members of ianywhere.ml.script.UpdateResultSet, including all inherited members.

Example

The following code shows how to obtain an UpdateResultSet instance from a DownloadTableData instance.

// DownloadTableData tableData
UpdateResultSet results = tableData.getUpdates();

setNewRowValues method
setOldRowValues method