Book a Demo

Author Topic: Dependencies in imported database views  (Read 2617 times)

an22_07

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Dependencies in imported database views
« on: June 14, 2019, 05:38:40 pm »
Hello,

I have imported a database via "Import DB schema from ODBC source".
In my database I have some Views, which were also imported, but the dependencies between my views and database tables are represented only as entries in tagged values of the views, while I would like EA to create connectors (of type dependency) between them.

I read on Sparx website, that the dependencies between views and tables are either:
- connectors between View and another Table or View
or
- object names (specified as a CSV list) in the 'parents' Tagged Values.
Apparently, in my case the second option worked. What can I do to make the importer use the first option and create the connectors?

Thanks in advance.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Dependencies in imported database views
« Reply #1 on: June 14, 2019, 05:47:57 pm »
I only use the importer occasionally. But I'm pretty sure the only thing you can do is to send a feature request since the importer is hard coded and has no configuration (I'm aware of).

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Dependencies in imported database views
« Reply #2 on: June 14, 2019, 06:30:50 pm »
I remember seeing connectors from views to tables, but I remember seeing any option to manipulate that.

I could imagine it uses the tagged values in case it can't find the tables, but that is just a guess.

Geert

an22_07

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Dependencies in imported database views
« Reply #3 on: June 17, 2019, 05:55:39 pm »
Hey,

I figured it out :) Turns out, that when the views are in another package than the tables, the importer creates only tagged values. When views and tables are in the same package, it also creates the connectors between them.

Regards