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 » UploadData interface


getUploadedTableByName method

public UploadedTableData getUploadedTableByName( 
   java.lang.String table_name

Returns a UploadedTableData instance representing the specified table.

  • table_name¬†¬† The name of the uploaded table for which you want the uploaded data.


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");

  // ...