Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

Chapter 6:  MobiLink Synchronization [Table of Contents] Chapter 8:  Synchronization Techniques

Ultralite Developer's Guide

[-] Chapter 7: Writing Synchronization Scripts

Chapter 7

Writing Synchronization Scripts

About this chapter

You control the synchronization process by writing synchronization scripts and storing them in the consolidated database. This chapter describes how to write these scripts and the role they play in the synchronization process.

[-] Introduction to synchronization scripts
A simple synchronization script
Adding scripts to your consolidated database
Using this chapter
[-] Scripts and the synchronization process
Script types
Cursor scripts
Connection scripts
Table scripts
Script parameters
Table names need not match
[-] Adding scripts to your consolidated database
Sybase Central Java Edition is the synchronization management tool
Using stored procedures to add synchronization scripts
Direct inserts of scripts
Default scripts
Testing script syntax
[-] Writing scripts to download rows
Writing download_cursor scripts
Deleting rows with the download_delete_cursor script
Events during download
[-] Writing scripts to upload rows
Writing upload_cursor scripts
Script events during upload
Conflict detection and resolution
[-] Writing scripts to handle errors
Parameters for error handling scripts
Error handling scripts return an action code
Handling multiple errors on a single SQL statement
The effects of rolling back a transaction
DBMS-dependent scripts


Character-set considerations [Table of Contents] Introduction to synchronization scripts