Lesson 5: Creating a Java class for MobiLink direct row handling

In this lesson, you use direct row handling to process rows in the OrderComments table in your client database. You add the
GetUpload methods for direct row handling for the handle_UploadData event. GetUpload writes uploaded comments to the XML file.

The GetUpload method obtains an UploadedTableData class instance representing the OrderComments table. The OrderComments table
contains special comments made by remote sales employees. You create this table in a later lesson.

The UploadedTableData getInserts method returns a result set for new order comments.

Write code that retrieves any uploaded inserts from the MobiLink client.

Write the following code:

// Get an UploadedTableData for the remote table
UploadedTableData remoteOrdersTable = ut.getUploadedTableByName("OrderComments");
// Get inserts uploaded by the MobiLink client
// as a java.sql.ResultSet
ResultSet insertResultSet = remoteOrdersTable.getInserts();