Re: Databasescheme with UML

From: Goran Mandinic <gmandini_at_veleri.hr>
Date: Tue, 29 May 2007 13:01:24 +0200
Message-ID: <f3h169$3ht$1_at_ss408.t-com.hr>


What do You mean under ORM? Object-relational modelling?

"Jon Heggland" <jon.heggland_at_idi.ntnu.no> wrote in message news:f30qh9$o1p$1_at_orkan.itea.ntnu.no...
> 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.
> --
> Jon
Received on Tue May 29 2007 - 13:01:24 CEST

Original text of this message