I've generated a sample Mobilink project via the graphical wizard and obtained the cons_setup.sql and remote_setup.sql scripts. I can see that they're using a bunch of
Related to https://sqlanywhere-forum.sap.com/questions/35971/mobilink-getting-started-without-graphical-wizard |
See the docs for the according consolidated databases, to cite:
I cannot check this currently but IIRC the scripts should define those ML objects. And of course the scripts to define those vary for the different consolidated databases types. do you know where the
(09 Sep '20, 09:52)
saurabhnanda
Replies hidden
They are described in great detail in Parts of a MobiLink application". The MobiLink consolidated architecture is event driven, so the ml_* procedures are referred to as event handlers, as in "SQL row handlers", also called "table events". Here's an example of the detailed docs: download_cursor table event For more information about how ml_add_table_script works, see the actual code in C:\Program Files\SQL Anywhere 17\MobiLink\Setup
(09 Sep '20, 15:16)
Breck Carter
|
Am I hitting a blind spot, or are the following functions, being used by the auto-generated script not present in that section? -
(09 Sep '20, 09:59)
saurabhnanda
The ML system stored procedures added to support the MobiLink modeling wizard in SQL Central are intended only to be used by SQL Central and are not documented.
(09 Sep '20, 10:06)
Reg Domaratzki
|
For your reference, MobiLink existed long before the wizard, and no part of the wizard is required for MobiLink.
All the remote database MobiLink system objects are built in to every SQL Anywhere 17 database.
All the consolidated database MobiLink system objects must be installed by running the script in C:\Program Files\SQL Anywhere 17\MobiLink\Setup that matches the RDBMS running your consolidated database.