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

SQL Anywhere 11.0.1 » MobiLink - Server Administration » MobiLink Server APIs » Writing synchronization scripts in Java » MobiLink server API for Java reference » UploadedTableData interface


getName method

public java.lang.String getName( )

Returns the table name for the UploadedTableData instance. You can also access the table name using the java.sql.ResultSetMetaData instance returned by the getMetaData method.


The table name for the UploadedTableData instance.

See also

The following example obtains the name of each uploaded table in a single upload transaction.

import java.sql.*;

// The method used for the handle_UploadData event.
public void HandleUpload(UploadData ud) {
    throws SQLException, IOException
    int i;
    // Get UploadedTableData instances.
    UploadedTableData tables[] = ud.getUploadedTables();

    for (i=0; i<tables.length; i+=1) {
        // Get the table name.
        String table_name = tables[i].getName();

        // ...