Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Mobile Link サーバが統合データベースサーバに接続するときに呼び出されます。
なし
なし。
Mobile Link 同期は、同期要求を受け取ると、要求に応じて統合データベース接続を開きます。Mobile Link クライアントが Mobile Link サーバに接続すると、Mobile Link サーバはその同期のすべてのデータベースアクティビティに対して、統合データベースサーバへの接続を一時的に 1 つ割り付けます。Mobile Link サーバが接続プールからの接続を使用している場合、このイベントは呼び出されない可能性があります。
このスクリプトは、通常は Java または .NET では使用されません。これは、データベース変数の代わりにこのクラスインスタンスのメンバー変数を使用し、メンバーをコンストラクタで準備するためです。
次の SQL スクリプトは、SQL Anywhere 統合データベースで動作します。これで 2 つの変数が作成されます。1 つは last_download タイムスタンプ、もう 1 つは従業員 ID の変数です。
CALL ml_add_connection_script( 'custdb', 'begin_connection', 'create variable @LastDownload timestamp; create variable @EmployeeID integer;')