This lesson assumes you have completed all preceding lessons. See Lesson 1: Compiling the CustdbScripts Java class with MobiLink references.
In this lesson, you connect to the consolidated database by creating a new MobiLink project.
Click Start » Programs » SQL Anywhere 12 » Administration Tools » Sybase Central.
Click Tools » MobiLink 12 » New Project.
In the Name field, type mljava_project.
In the Location field, type C:\mljava, and click Next.
Check the Add A Consolidated Database To The Project option.
In the Database Display Name field, type mljava_db.
Click Edit.
Perform the following tasks in the Connect To A Generic ODBC Database:
In the ODBC Data Source name field, click Browse, and select SQL Anywhere 12 CustDB.
Click OK, and click Save.
Click Finish.
Click OK.
Proceed to Lesson 3: Subscribing a script to the upload_insert event.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |