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

SQL Anywhere 11.0.0 » MobiLink - Server-Initiated Synchronization » Setting up server-initiated synchronization » Push requests


Creating push requests

You can create push requests in any way that you cause data to be inserted into a table. Following is a list of common ways to create push requests:

  • Specify SQL synchronization logic in Notifier properties. The most obvious property for creating push requests is the begin_poll property.

    A benefit of creating push requests inside the Notifier is that contention is minimized because only one database connection is used for push requests.

    See begin_poll property.

  • Define a database trigger. For example, create a trigger that detects when a price changes and then inserts push request data into a table of push requests.

    See Introduction to triggers.

  • Use MobiLink synchronization logic to create push requests that notify other MobiLink users. For example, create an end_upload script that detects that a specific change has been uploaded and then creates a push request to update other users who should have the same data.

    See end_upload table event.

  • Use a database client application that inserts data into a push request table directly.
  • Manually insert push request data using an Interactive SQL utility.