In this lesson, you browse synchronization scripts to get a better understanding of how the CustDB synchronization logic works.
Prerequisites
This lesson assumes you have completed all preceding lessons. See Lesson 1: Building and running the CustDB application.
Click Start » Programs » SQL Anywhere 16 » Administration Tools » Sybase Central.
In the left pane of Sybase Central, right-click MobiLink 16 and then click Open Project.
Navigate to %SQLANYSAMP16%\MobiLink\CustDB and click project.mlp.
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.
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.
Click Synchronized Tables.
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.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |