Upsize to Sybase Adaptive Server Anywhere (ASA)

Return to Introduction  Previous page  Next page

Before you set up Enterprise Architect for use with ASA, we recommend you run the project integrity check tool (select the Tools | Data Management | Project Integrity Check menu option) on the base project to upsize to ASA. This ensures the data is 'clean' before uploading.

Note: You cannot move a model from a source .EAP file of a version earlier than 3.5.0.

Warning: Before proceeding, ensure MDAC 2.6 or 2.7 is installed on your system.

Upsizing Your Database

There are three stages to upsizing your database for ASA. Work through them in the order defined below:

Stage One: Install ASA Components

1.Install Adaptive Server Anywhere  - SQL Anywhere Studio 8 or higher. This also installs the ASA ODBC driver.
2.Create a new database for the Enterprise Architect repository using Sybase Central.
3.Create a suitable ODBC Data Source to point to your new database.

Note: See Set up an Adaptive Server Anywhere ODBC Driver.

Stage Two: Configure the Database

From Sybase Central:

1.Right-click on the newly created database.
2.Open Interactive SQL and load the ASA_BaseModel.sql file. This is available to registered users on the Corporate edition Resources page of the Sparx website at http://www.sparxsystems.com/registered/reg_ea_corp_ed.html.
3.Run the script to create all required data structures.

Note: See Create a New Adaptive Server Anywhere Repository.

You now have an empty database, and can transfer an existing model into the server.

Stage Three: Transfer the Data

1.Open Enterprise Architect (click on the Cancel button on the Open Project screen to open with no project loaded).
2.Select the Tools | Data Management | Project Transfer menu option. The Project Transfer dialog displays.
 
ASA-FullModelDataTransfer
 
3.In the Transfer Type panel, select .EAP to DBMS.
4.In the Source Project field, type the name of the .EAP file to upsize to ASA.
5.At the right of the Target Project field, click on the [...] (Browse) button. The Datalink Properties dialog displays.

Select Microsoft OLE DB Provider for ODBC Drivers from the list, then click on the Next button.

6.In the Use Data source name field, click on the drop-down arrow and select the ODBC Data Source you configured to point to your new database.

Note: See Connect to an Adaptive Server Anywhere Data Repository for more information.

7.Click on the OK button.
8.If required, select the Logfile checkbox and enter a path for the data transfer log file.
9.Click on the Transfer button to begin the data transfer process.

When the process is complete, you have upsized your model to Adaptive Server Anywhere and can now open it from Enterprise Architect.