Book a Demo

Author Topic: DDL Transformation and FKs  (Read 2408 times)

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
DDL Transformation and FKs
« on: October 02, 2007, 07:50:40 pm »
Is anyone using new the DDL transforms as defined in build 817?
I just transformed a package and the directions of all my FK connectors are wrong (previous versions of DDL transform work ok). It created foreign keys in the wrong class. Anyone else noticed this?
Cheers, Mark

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: DDL Transformation and FKs
« Reply #1 on: October 03, 2007, 02:46:19 am »
Mark,

[EDIT: Thanks for the update Mark. While you're there, I'll take mine black without sugar, thanks.]

If you can duplicate this, please file an immediate bug report with Sparx, and attach your project file (in compressed format). This sounds like something they need to get repaired ASAP.

Hopefully we're still in time for the correction to get into build 818.


I think you know the drill for keeping the community in the loop.

David
« Last Edit: October 05, 2007, 03:07:31 am by Midnight »
No, you can't have it!

mark.myers

  • EA User
  • **
  • Posts: 97
  • Karma: +0/-0
    • View Profile
Re: DDL Transformation and FKs
« Reply #2 on: October 03, 2007, 02:42:41 pm »
David,

I've done a little more investigating and there is no problem - except with me  :-[

In the new transformations the FK definitions are driven by multiplicity of the source and destination and it is not affected by the direction of the association - this is a change of behaviour from previous versions which were driven by the association direction and ignored multiplicity. I was working on a demo model and had been slack and had not bothered to set multiplicity (and in some cases while fiddling had set it incorrectly hence the screw up). Apologies for the false alarm.

Time for coffee I think...
Cheers, Mark