Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Create a Project in an Oracle Database
To create a project in a repository on Oracle 9i, 10g, 11g or 12c, you work through the following stages:
• | Stage 1: Create an empty database repository and set up the data tables |
• | Stage 2: Set up the ODBC Driver (if required; you can connect to an Oracle repository using either OLE DB or an ODBC driver; if you intend to connect through the ODBC driver, you must first set it up) |
• | Stage 3: Perform a project integrity check on the project file you are using as a base (optional, but recommended) |
• | Stage 4: Transfer the data |
• | Stage 5: Connect to the repository to open the project |
Prerequisites
• | Oracle 9i, 10g or 11 g has been installed |
Create Database Repository
Step |
Action |
See also |
---|---|---|
1 |
Create the empty database.
|
|
2 |
Using a tool such as Oracle SQL *Plus, load the Oracle_EASchema.sql file. |
Registered User's Scripts page
|
3 |
Run the script to create all required data structures.
|
|
Set Up the ODBC Driver
Step |
Action |
See also |
---|---|---|
1 |
Create a suitable ODBC Data Source to point to your new database. |
|
Perform Project Integrity Check
Step |
Action |
See also |
---|---|---|
1 |
Open the file-based project or template.
|
|
2 |
Select and run Tools | Data Management | Project Integrity Check. This ensures your project data is 'clean' before uploading.
|
Transfer the project data to the repository
Step |
Action |
See also |
---|---|---|
1 |
Open Enterprise Architect. (If the Open Project screen displays, click on the Cancel button to open with no project loaded.)
|
|
2 |
Select the Tools | Data Management | Project Transfer menu option. The Project Transfer dialog displays.
|
|
3 |
In the Transfer Type panel, select .EAP to DBMS.
|
|
4 |
In the Source Project field, type the name of the project file to copy to Oracle. If the .EAP file has Replication enabled, this must be removed before performing the transfer.
|
|
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. Click on the Next button.
|
|
7 |
On the Connection page of the Datalink Properties dialog, enter the Oracle service name in the Data Source field, and the user name and password as required. Click on the OK button. The Project Transfer dialog redisplays.
|
|
8 |
If required, select the Logfile checkbox and type a path and filename for the data transfer log file.
|
|
9 |
Click on the Transfer button to begin the data transfer process.
|
|
10 |
When the process is complete, you have created a project on a Oracle database and can now connect to it and open it from Enterprise Architect.
|
Connect to an Oracle Data Repository (ODBC) Connect to an Oracle Data Repository (OLE DB)
|
Notes
• | When transferring a project to Oracle you must have access rights to execute the CREATE SEQUENCE command |
Learn more