Architecting and designing : UML 2.0 Lite : Object/relational integration : Mapping a class diagram to a data model : Mapping a class diagram to a data model, specifics
  
Mapping a class diagram to a data model, specifics
You can automatically generate a logical Entity Relation diagram from a UML Class diagram.
Persistent classes are mapped
Only classes designated as persistent are mapped to entities in an ER diagram.
Handling of attributes
Class attributes are mapped over to attributes and data elements of the corresponding entity, if they do not already exist.
The entity attribute is given the same name as the class attribute and is associated with the newly created data element. The data element is given the name of the class attribute prefixed with OO-DE_.
The new data elements type is determined through the type translations specific for each language:
Java type mapping to from data element types
C++ type mapping to from data element types
Visual Basic type mapping to from data element types
CORBA type mapping to from data element types
Associations
Associations between classes are mapped to non-specific relationships between entities.
Inheritance
Inheritance structures are mapped to super-sub structures in an ER diagram.
See also
Mapping a class diagram to a data model