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

SAP Sybase SQL Anywhere 16.0 » UltraLite - Database Management and Reference » Tutorial: Building the UltraLite CustDB sample application

 

Lesson 5: Browsing MobiLink synchronization scripts

In this lesson, you browse synchronization scripts to get a better understanding of how the CustDB synchronization logic works.

Prérequis

This lesson assumes you have completed all preceding lessons. See Lesson 1: Building and running the CustDB application.

 Task
  1. Click Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.

  2. In the left pane of Sybase Central, right-click MobiLink 16 and then click Open Project.

  3. Navigate to %SQLANYSAMP16%\MobiLink\CustDB and click project.mlp.

  4. Double-click Consolidated Databases and then double-click the CustDB consolidated database.

    You are connected to the consolidated database based on the connection information that was provided when you added the consolidated database to your project.

  5. Double-click Connection Scripts.

    The right pane lists a set of synchronization scripts and a set of events with which these scripts are associated. As the MobiLink server carries out the synchronization process, it triggers a sequence of events. Any synchronization script associated with an event is run at that time. By writing synchronization scripts and assigning them to synchronization events, you can control the actions that are carried out during synchronization.

  6. Click Synchronized Tables.

  7. In the right pane, double-click ULCustomer.

    A set of scripts specific to this table, and their corresponding events appears. These scripts control the way that data in the ULCustomer table is synchronized with the remote databases.

Résultat

You have reviewed the synchronization scripts.

Suivant

None.

 See also