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

SQL Anywhere 10.0.1 » MobiLink - Server Administration » Writing Synchronization Scripts in Java » MobiLink server API for Java Reference » UploadData interface

UploadData interface Next Page

getUploadedTableByName method


public UploadedTableData getUploadedTableByName(
java.lang.String table_name


Returns a UploadedTableData instance representing the specified table.


An UploadedTableData instance representing the specified table, or null if a table of the given name does not exist for the current synchronization.

See also

Assume you use a method called HandleUpload for the handle_UploadData synchronization event. The following example uses the getUploadedTableByName method to return an UploadedTableData instance for the remoteOrders table.

// The method used for the handle_UploadData event.

public void HandleUpload( UploadData ut )
  throws SQLException, IOException {
  UploadedTableData uploaded_t1 = ut.getUploadedTableByName("remoteOrders");

  // ...