Gibt den Tabellennamen für die DownloadTableData-Instanz zurück. Sie können den Tabellennamen auch mit der Instanz java.sql.ResultSetMetaData
aufrufen, die von der Methode DownloadTableData.getMetaData zurückgegeben wird.
Das folgende Beispiel zeigt, wie Sie den Tabellennamen für die DownloadTableData-Instanz ausgeben.
Hinweis
Bei diesem Beispiel wird vorausgesetzt, dass eine DBConnectionContext-Instanz namens _cc vorhanden ist.
// The method used for the handle_DownloadData event
public void handleDownload() throws SQLException {
// Get the DownloadData for the current synchronization.
DownloadData my_dd = _cc.getDownloadData();
// Get the DownloadTableData for the remoteOrders table.
DownloadTableData td = my_dd.getDownloadTableByName("remoteOrders");
// Print the table name to standard output (remoteOrders)
System.out.println(td.getName());
// User defined-methods to set download operations.
setDownloadInserts(td);
setDownloadDeletes(td);
// ...
}