Re: Databasescheme with UML

From: Eric <eric_at_deptj.demon.co.uk>
Date: Wed, 23 May 2007 19:56:03 +0100
Message-ID: <4g3953di5g5lti76aq9iio25m5700sikfa_at_4ax.com>


On Wed, 23 May 2007 09:28:10 +0200, Jon Heggland <jon.heggland_at_idi.ntnu.no> wrote:

>Goran Mandinic wrote:
>> "Christian Bruckhoff" <brchrist_at_uni-koblenz.de> wrote in message
>> news:f2jtm7$iq9$1_at_cache.uni-koblenz.de...
>>>
>>> How do I create a databasescheme with UML? In comparison to ER-diagrams I
>>> would say, that entities are classes and relationships are associations
>>> now. I think that should be right. But how you have to model a
>>> relationship with attributes with UML?
>>
>> UML is not used to model relational databases, nor it can precisely
>> accomplish that, nor it is invented to do so. In software development UML is
>> mainly used in object-oriented systems. If modelling a relational database,
>> why use else than E-R?
>
>Because E-R isn't much better than UML? It cannot precisely model a
>relational database either. ORM is better.
>
>As for representing a relationship with attributes in UML, you could use
>an association class.

Just keep hammering those screws in - after all, hammers are wonderful. Oh, wait a minute, how about this chisel... Received on Wed May 23 2007 - 20:56:03 CEST

Original text of this message