Contents Index Synchronizing high-priority changes Using client-specific data to control synchronization pdf/preface.pdf

UltraLite User's Guide
  Developing UltraLite Applications
    Designing your UltraLite database

Including read-only tables in an UltraLite database


Some applications include tables in the UltraLite database that are not updated locally. Price lists and company policies are two examples. You can synchronize these tables efficiently by including them in a publication, and synchronizing the publication using download-only synchronization. Download-only synchronization is less time-consuming than a two-way synchronization, as no data is uploaded.

To use download-only synchronization, you must ensure that the data is not changed locally. If any data is changed locally, synchronization fails with a SQLE_DOWNLOAD_CONFLICT error.

Unlike for two-way synchronization, you do not have to commit all changes to the UltraLite database before download-only synchronization. Uncommitted changes to tables not involved in synchronization are not uploaded, and so there incomplete transactions do not cause problems.

For information on download-only synchronization, see download_only synchronization parameter.


Contents Index Synchronizing high-priority changes Using client-specific data to control synchronization pdf/preface.pdf