public UploadedTableData[] getUploadedTables( )
Returns an array of UploadedTableData objects for the current synchronization. The order to the tables in the array is the same order that MobiLink uses for SQL row handling, and is the optimal order for preventing referential integrity violations. If your data source is a relational database, use this table order.
An array of UploadedTableData objects for the current synchronization. The order of tables in the array is the same as the upload order of the client.
Assume you use a method called HandleUpload for the handle_UploadData synchronization event. The following example uses the getUploadedTables method to return UploadedTableData instances for the current upload transaction.
// The method used for the handle_UploadData event. public void handleUpload( UploadData ud ) { throws SQLException, IOException { UploadedTableData tables[] = ud.getUploadedTables(); //... } |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |