Book a Demo

Author Topic: Database views  (Read 2885 times)

dlucas8

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Database views
« on: July 25, 2007, 04:58:24 am »
I am having trouble understanding how to model a database view?  Do they need to be part of the logical model, since they are part of a dynamic call.  I noticed that they are not part of the base stereotypes so I added the term view to my stereotypes list. How does EA deal with database views?  Will EA understand how to export the DDL (ie CREATE VIEW ...)?  I understand that EA first must hope that I understand the concept but any help would be great..

thanks

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Database views
« Reply #1 on: July 25, 2007, 06:08:53 am »
In EA, views can only be defined for certain DBMS targets, check the release notes or documentation, since the list was expanded in version 7.0.

Open help in version 7.0, buikd 814 (current at this time). Click the Index tab and enter View. Click the Class entry immediately under View in the list, and you'll be on your way.

David
No, you can't have it!

dlucas8

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Database views
« Reply #2 on: July 25, 2007, 06:12:14 am »
Thanks Midnight, I have noted since my post that my edition is a bit outdated and doesn't support views at all, so I guess I will need to upgrade.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Database views
« Reply #3 on: July 25, 2007, 06:43:46 am »
Views showed up around 6.1, or perhaps as late as 6.5. They were only supported for SQL Server and Oracle until 7.0.

There's been ongoing (relatively minor, but still usefule) work done to extend DBMS models. If you use this feature a lot this might be enough reason to update - the low cost is enough in my book though.

Meanwhile, we can only hope that OGM gets busy and finalizes the IMM standard. I'm hoping Sparx will support this if an when...

David
No, you can't have it!