Book a Demo

Author Topic: Data model validation in EA?  (Read 3874 times)

Gusztav

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • EA expert
    • View Profile
    • Imprestige. Your issues in safe hands.
Data model validation in EA?
« on: May 31, 2012, 06:21:12 am »
Hi,

Some colleagues asked a question. They have a data model in EA with some foreign keys set up between <<table>> classes. While the model evolves, the data type of some properties change over time, and such a change may include properties or columns being part of a foreign key relationship (such as the column with which the foreign key column has to match). In this case, obviously, the foreign key relationships needs to be revised, since a data type change occurred in one of the fields assigned to each other.

The very problem is that once they forget about this (maybe the one changing the data type is not aware of that column being used in a FK relationship at all), they will find themselves in a messed up model soon with invalid FK relationships.

I guess why EA can not warn the user on-the-fly about the need to review FK relationships on data type change. But is there any validator like those for BPEL which could be employed to point out invalid foreign key relationships in which data types of coupled fields do not match?

Thanks,
Gus
------------------------
Imprestige. Your issues in safe hands.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Data model validation in EA?
« Reply #1 on: May 31, 2012, 03:33:18 pm »
Gus,

I don't know any existing functionality, but you could quite easily write an add-in that warns you about impacted FK's, even on the fly.

Geert

Gusztav

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
  • EA expert
    • View Profile
    • Imprestige. Your issues in safe hands.
Re: Data model validation in EA?
« Reply #2 on: May 31, 2012, 04:00:05 pm »
Thanks for the response, Geert. I was hoping there is something to use, our main focus would be to use EA, not to improve it. :)
------------------------
Imprestige. Your issues in safe hands.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Data model validation in EA?
« Reply #3 on: May 31, 2012, 04:06:53 pm »
You can of course send in a Feature Request and hope for the best.

Geert