Upsize to Oracle 9i and 10g

Return to Introduction  Previous page  Next page

Before you set up Enterprise Architect for use with Oracle, 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 Oracle. This ensures your 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 Oracle. Work through them in the order defined below:

Stage One: Create an Empty Database

1.Install Oracle.
2.Create an empty database.

Note: See Create a New Oracle Repository.

Stage Two: Configure the Database

1.Using a tool such as the SQL*Plus or SQL Plus Worksheet, load the Oracle_BaseModel.sql file. This is available to registered users on the Corporate edition Resources page of the Sparx Systems website.
2.Make sure the new database is selected as the current database.
3.Run the script to create all required data structures.

Note: See Create a New Oracle Repository.

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

Stage Three: Transfer the Data

Note: When transferring a project you must have permission to execute the CREATE SEQUENCE command.

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:
 
TransferData
 
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 Oracle.
5.At the right of the Target Project field, click on the  [...] (Browse) button. The Datalink Properties dialog displays.
6.Select Oracle Provider for OLE DB from the list, then click on the Next button.
7.On the Data Source details page of the Connection dialog, type in the database name and security details as required.

Note: See Connect to an Oracle Data Repository for more information.

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

Once the process is complete, you have upsized your model to Oracle and can now open it from Enterprise Architect.