![]() | ![]() |
Home |
|
|
Ultralite Developer's Guide |
|
| Chapter 7: Writing Synchronization Scripts |
Chapter 7
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 |
|
|