Book a Demo

Author Topic: Creating triggers on Sparx' tables …?  (Read 3897 times)

Svend Erik Nygaard

  • EA User
  • **
  • Posts: 131
  • Karma: +2/-2
  • Business Information Architect
    • View Profile
Creating triggers on Sparx' tables …?
« on: July 09, 2019, 12:22:29 am »
I have often considered creating triggers on Sparx' tables.
Has anyone tried that?
Is there any official policy on that?
(Of course, I may have to recreate them when upgrading EA versions, but that is alright)
« Last Edit: July 09, 2019, 12:27:19 am by Svend Erik Nygaard »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Creating triggers on Sparx' tables …?
« Reply #1 on: July 09, 2019, 03:49:49 pm »
I wouldn't recommend it, but I did it for one client.
The reason was a bug in the xmi import, where tagged value references where cleared.
A trigger now prevents the tagged values to be cleared if they contain a guid.

Geert

Svend Erik Nygaard

  • EA User
  • **
  • Posts: 131
  • Karma: +2/-2
  • Business Information Architect
    • View Profile
Re: Creating triggers on Sparx' tables …?
« Reply #2 on: July 14, 2019, 05:49:31 am »
Thanks Geert.

I hoped and waited for some more experiences - but at least now I know, it has been done.

@Sparx: do you have any input on this?