Book a Demo

Author Topic: How to Import Oracle DB to EA  (Read 7243 times)

Raghuram

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
How to Import Oracle DB to EA
« on: October 15, 2009, 06:40:47 pm »
Hi, I am new to this EA could you please help in imporitng the Orcale DB to EA. we are using the Oracle DB and wanted to import all the Tables and Procs to EA for documentation.
Raghuram

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #1 on: October 15, 2009, 07:17:12 pm »
Select in EA the package where you can the schema to be imported.

Optionally, you can create a class (or data modelling) diagram in order to draw automatically the DB objects when imported.

Right click on the package, and select "Code Engineering | Import DB Schema from ODBC..." option.

Set the ODBC connection and the other options, and press OK. The DB objects should appear (tables, views, procedures, functions, triggers...). Select the desired ones and finish the import process.

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #2 on: October 19, 2009, 03:57:58 pm »
Note: it is necessary to use the Oracle supplied ODBC /OLE driver: "Oracle Provider for OLE DB" see: http://www.sparxsystems.com/uml_tool_guide/uml_model_management/connecttoaoracle9idatarep.html

Raghuram

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #3 on: October 20, 2009, 09:19:26 pm »
I have oracle installed on my system and then performed the actions to export the content to the EA with the Code Engineering.
Thankyou for the information I got it done. Success!!!!!!!!!!! :)

But i am facing problem in impoting the Procs, when i imported only the packages and tables were copied to EA. is there any way to import procs also.
« Last Edit: October 20, 2009, 09:25:39 pm by rvsraghu »
Raghuram

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #4 on: October 21, 2009, 10:18:10 am »

Raghuram

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #5 on: October 21, 2009, 05:00:11 pm »
Thank you!!!!!!!
I got it Solved. :)
Raghuram

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #6 on: December 08, 2009, 02:14:48 am »
When you say you solved it? I wonder if you could clarify how the Procs where stored in the Oracle DB.

I've been trying to get Stored Proc's (Stored in Oracle Packages) imported without much luck.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to Import Oracle DB to EA
« Reply #7 on: December 08, 2009, 09:37:19 am »
See the following procedure:

http://www.sparxsystems.com/uml_tool_guide/data_modeling/importdatabaseschemafromod.html

For stored procedures, you need to select the Include User Stored Procedures checkbox, and the Import as individual classes radio button.  We now recommend that you don't import stored procedures as class operations.

At the end of the procedure - step 9 - a dialog displays from which you specifically select the stored procedures (and tables) to import.

If this procedure is not working, could you please submit a bug report stating the steps you have performed and the point at which things do not happen as expected?  Thanks.
Best Regards, Roy