Book a Demo

Author Topic: Upgrade to 4.5 causes error  (Read 3174 times)

tslusser

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Upgrade to 4.5 causes error
« on: December 02, 2004, 08:17:29 am »
Hi.

I upgraded from version 4.1 to version 4.5 and when I try to delete an aggregate link I get an error message:

DAO.Recordset [3464]
Data type mismatch in criteria expression.: SQL= Delete from t_connector where Connector_ID in(732)

Also is there consensus on the direction of the aggregate diamond?  Should it be attached to the source or the target?

Thanks,

Ted Slusser

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Upgrade to 4.5 causes error
« Reply #1 on: December 03, 2004, 04:47:47 pm »
Source

tslusser

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Upgrade to 4.5 causes error
« Reply #2 on: December 04, 2004, 11:18:28 am »
If it should be on the source then EA has it backwards.  Is this configurable in EA?

thomaskilian

  • Guest
Re: Upgrade to 4.5 causes error
« Reply #3 on: December 04, 2004, 11:49:16 am »
No.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Upgrade to 4.5 causes error
« Reply #4 on: December 05, 2004, 02:49:47 pm »
From the UML 1.5 specification[1]:
Quote
aggregation When placed on one end (the “target” end), specifies whether the class on the target end is an aggregation with respect to the class on the other end (the “source”end). Only one end can be an aggregation. Possibilities are:
• none - The target class is not an aggregate.
• aggregate - The target class is an aggregate; therefore, the source class is a part and must have the aggregation value of none. The part may be contained in other aggregates.
• composite - The target class is a composite; therefore, the source class is a part and must have the aggregation value of none. The part is strongly owned by the composite and may not be part of any other composite.

Therefore, the diamond should be on the target end.

[1]The UML 2.0 specification is silent on the subject, which means nothing changed from UML 1.5
The Sparx Team
[email protected]