Book a Demo

Author Topic: UML2 DDL FK relationships as Dependencies?  (Read 5924 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
UML2 DDL FK relationships as Dependencies?
« on: October 13, 2005, 06:37:05 pm »
The Lithuanian product has just released a new version.

One user (quite rightly in my view) complained his Associations had been converted to Dependencies! :-X

The reply back asked if he was using DDL language as in line with UML2, all Associations: "which was used to show FK, table view and scope references was changed into dependencies".

1)  Does anybody know anything about this?  Sounds a bit suspect to me...
2)  Is there an "official" specification on UML-DDL interfacing?
3)  If it is correct, does EA have any plans to do this without notifying users?

Paolo

Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: UML2 DDL FK relationships as Dependencies?
« Reply #1 on: October 13, 2005, 07:00:58 pm »
I don't know anything about that, or an "official" UML-DDL spec.  However I do know that EA 6.0 is still using associations for foreign keys, (I think it's exactly the same)  As far as I can tell, dependencies can't be used for foreign keys.

If at some point in the future we did do something like this, I suspect it would be as part of a database upgrade procedure as it would be incompatible with existing versions.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML2 DDL FK relationships as Dependencies?
« Reply #2 on: October 13, 2005, 07:06:37 pm »
Quote
2)  Is there an "official" specification on UML-DDL interfacing?


There is no official specification on the OMG site, which probably makes Rational's "UML Profile for Database Design" the de-facto standard. They have dependencies from Views to Tables, but associations for primary and foreign key definitions.

Neil
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: UML2 DDL FK relationships as Dependencies?
« Reply #3 on: October 13, 2005, 10:08:25 pm »
Quote
There is no official specification on the OMG site, which probably makes Rational's "UML Profile for Database Design" the de-facto standard. They have dependencies from Views to Tables, but associations for primary and foreign key definitions.

Neil
Thanks Neil...  This makes sense....
Had me worried... ;)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!