Book a Demo

Author Topic: Reverse Engineering Database Views  (Read 3794 times)

dave

  • Guest
Reverse Engineering Database Views
« on: October 27, 2004, 12:00:46 am »
Is it possible to import a database view into EA?  I need to document a number of our views and EA already has a lot of the business rules defined.

thomaskilian

  • Guest
Re: Reverse Engineering Database Views
« Reply #1 on: October 27, 2004, 12:43:55 am »
Why not just try what happens?

dave

  • Guest
Re: Reverse Engineering Database Views
« Reply #2 on: October 27, 2004, 12:45:47 am »
I did and it didn't work, hence the question.  I thought there may be another way.

thomaskilian

  • Guest
Re: Reverse Engineering Database Views
« Reply #3 on: October 27, 2004, 02:29:40 am »
Obviously views are not supported (just tried it myself). That means you have to handle these manually. I don't know what you could alternatively use - maybe an artifact containing the SQL statement? Probably someone else has a better idea  ???

dave

  • Guest
Re: Reverse Engineering Database Views
« Reply #4 on: October 27, 2004, 04:13:11 pm »
I would life to set up something along the lines of a data dictionary for a view and as EA already had a lot of the business rules it seemed like the logical place.  It could be a useful enhancement.

bu66le

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering Database Views
« Reply #5 on: November 02, 2004, 07:55:49 pm »
EA has no direct support for view, nor <<view>> is available as a built-in stereotype. Well, what I did is create the stereotype <<view>> based on <<class>>, drag and drop the class symbol and stereotype it as <<view>>. After that, fire up ur favourite text editor and write CREATE OR REPLACE VIEW...  ;D

I hope EA will add support for view modeling *cross fingers*
Wise [persons] learn by others’ mistakes, fools by their own - Henry George Bohn

SamJolly

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering Database Views
« Reply #6 on: November 04, 2004, 03:20:03 pm »
I would totally support that. Full DB functionality covering Tables, Views, Triggers - Have a look at some other products like Computer Associates Allfusion ER/WIN or Sysbase PowerDesigner for ideas.

Incidentally can stored procedures and functions be modelled. They must be like methods against a table class....????

Keep the good work up.

Sam

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineering Database Views
« Reply #7 on: November 04, 2004, 07:33:14 pm »
We are in the process of adding support for modelling stored procedures and views. :)