Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Create a Project in a Sybase ASA/SQL Anywhere Database

To create a project in a repository on Sybase Adaptive Server Anywhere 8 or 9, or SQL Anywhere 10, 11 or 12, you work through these stages:

  • Stage 1: Create an empty database repository
  • Stage 2: Set up the ASA ODBC Driver
  • Stage 3: Set up initial data


  • A machine with Adaptive Server Anywhere installed and running
  • Install SQL Anywhere Studio, this also installs the ASA ODBC driver

1. Create Database Repository



See also


Create a new empty database.

Create an Adaptive Server Anywhere Repository


Open your SQL management console of choice (such as Sybase Central) and connect to the new database.


Load the EASchema_1220_ SybaseASA.sql file from the Sparx Systems website.


Run the EASchema_1220_ SybaseASA.sql to create the required database schema.

2. Set up the ODBC DSN



See also


Create a suitable ODBC Data Source using the Sybase Adaptive Server Anywhere ODBC driver to the new database.

Set up an ASA ODBC Driver

3. Set up Initial Data

Enterprise Architect repositories requires a basic amount of reference data to function correctly.  For Sybase ASA based models this can be achieved by transferring the contents of an existing model into the new database.



See also


In Enterprise Architect, open the existing repository and select 'Configure > Model > Integrity > Project Integrity' in the ribbon.


Ensure that the Action is set to 'Report Only' and that all items in 'Checks to Run' are enabled, then click the Go button.

Check Project Data Integrity


If Enterprise Architect detects that the existing model contains integrity issues then these will be listed, these should be corrected before continuing with the Project Transfer.


With Enterprise Architect open, ensure that it there is no Project loaded, by selecting 'Close Project' from the  Project list button.


Select the 'Configure > Model > Transfer > Project Transfer' ribbon option.

The 'Project Transfer' dialog displays.


In the 'Transfer Type' panel, select '.EAP to DBMS'.


In the 'Source Project' field, type the name of the project file to copy to the repository.

If the .EAP file has Replication enabled, this must be removed before performing the transfer.

Remove Replication


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.

Click on the Next button.


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.

Click on the OK button. The 'Project Transfer' dialog redisplays.

Set up an ASA ODBC Driver


If required, select the 'Logfile' checkbox and type a path and filename for the data transfer log file.


Click on the Transfer button to begin the data transfer process.


When the process is complete, you have created a project on an ASA database and can now connect to it and open it from Enterprise Architect.

Connect to an ASA Data Repository

Learn more