Book a Demo

Author Topic: Oracle database package Reverse Engineering  (Read 5290 times)

sekhar_aripaka

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love EA!!!
    • View Profile
Oracle database package Reverse Engineering
« on: June 18, 2009, 12:50:42 am »
Hi, we were trying to Reverse Engineering oracle database packages into EA for documentation purpose. Unfortunately EA is not getting the stored procs within the package. All it does is getting the package code into the body element.

We need all the stored procs(within package) to be imported into the data model as individual elements, so that we can use them in sequence diagrams and generate documentation. We tried several available options in ver 7.5; I believe this is not supported by EA.

Any help in this is highly appreciated!!
Thanks in advance,
Sekhar Aripaka

NickH

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Oracle database package Reverse Engineering
« Reply #1 on: July 02, 2009, 10:55:14 am »
Hello, I have exactly the same problem. When I reverse engineer Oracle packages it only imports two operations:
- One called "body"
- One called "specification"
This is not useful at all other than for getting the name of the package into EA. Do i have to go and add all the procedure names in manually? It seems like a bug or a missing feature.

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Oracle database package Reverse Engineering
« Reply #2 on: October 27, 2009, 11:24:04 pm »
I have the same problem. I've tried Oracle Client 10g and 9i client, still no difference. I notice that the datastore connection, when using EA in a corporate env, uses the OLEDB driver. Anyone used this and what results did you get?

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Oracle database package Reverse Engineering
« Reply #3 on: October 31, 2009, 12:52:31 am »
I've now raised this as a bug with Sparx. No response as of yet. Anyone got any further help/advice would be appreciated.

One avenue of thought is the permissions on the Oracle user id access the Oracle database. Does anyone know what permissions it should have when its being used by the EA software?

k2901

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Oracle database package Reverse Engineering
« Reply #4 on: November 10, 2009, 08:19:57 pm »
Sparx have confirmed that reverse enginnering ODBC schema with Oracle packages will only load the body and spec elements. Individual procedures/functions of a package are not reversed into calsses/operations - this is by design. I have asked for this to be raised as a new "feature request".

So the only way to get a stored procedure reversed using the ODBC connection is to have the stored procedure/function outside of a package in Oracle! Not sure if this is the same when using SQL Server, anyone know?