tags:

views:

140

answers:

2

in chen's notation partial keys (discriminator) were shown as dashed lines, how are they shown in uml er (entity-relationship) diagram?

+1  A: 

If I recall correctly UML leaves that at your discretion and does not discriminate between partial keys and other composite keys (the difference between weak and strong entities is less pronounced in E-R or UML).

Unreason
that is correct, one does not need to explicitly show the partial key in uml. although there exists a <<weak>> identifier, i have never seen it used.
Infestor
+1  A: 

I think that modeling database in an UML diagram is only possible if you add a JPA profile. This profile is associated to Java and could not be used with other languages. The idea is to synchronize stereotypes with Java annotations and then use Hibernate for the deployment. It works really well and allows the creation of very complex projects. alt text

This is not entirely true, UML has some features for data modeling, the question is if it satisfies all needs.
Gabriel Ščerbák
Heu .... maybe it is not the only way, I agree Gabriel..