void setDownloadInserts(DownloadTableData td) {
java.sql.PreparedStatement insert_ps = td.getUpsertPreparedStatement();
// This is the same as executing the following SQL statement:
// INSERT INTO remoteOrders(pk, col1) VALUES (2300, "truck");
insert_ps.setInt(1, 2300);
insert_ps.setString(2, "truck");
int update_result = insert_ps.executeUpdate();
if (update_result == 0) {
// Insert was filtered because it was uploaded
// in the same synchronization.
}
else {
// Insert was not filtered.
}
insert_ps.close();
}