Visual Paradigm Logo
     Build Quality Applications Faster, Better and Cheaper
 
Home | Products | Download | Documentation | Support | Resources | Partners | Quick Tour | Shop | Company |  
 
   Visual Paradigm Discussion Forum
  Login   [ Register ] Email: Password: Log me on automatically I lost my password  
Recent Topics
Advanced Search
Generating correct ERD from Class Diagram  
Forum Index -> Object Relational Mapping (ORM)
Author Message
sergio


Joined: 2005/12/16
Messages: 1

Offline

Hi,

In my class Diagram, I have the following class:

Class - USER
Attributes - ID : int
- LOGIN : String
- PASS : String
- EMAILS : Set

When I generate the ERD from that, I get

Entity - USER
Columns - ID : number
- LOGIN : varchar2
- PASS : varchar2
- EMAILS : number

When actually I should get TWO entities

Entity - USER
Columns - ID : number
- LOGIN : varchar2
- PASS : varchar2

Entity - EMAILS
Columns - USERID : number
- EMAIL : varchar2

Is it possible? Am I doing something wrong?

Thanks, Sergio.

 
Jick


Joined: 2005/04/29
Messages: 2880

Offline

Hi Sergio,

We do not convert Set type to a One-to-Many relationship in Entity Relationship Diagram. I will talk to our developers and see if we could support this.

If possible, you can specify the EMAILS attribute as an String[] type. The transformed ERD will then appear as what you are looking for.

Best Regards,
Jick

Visual Paradigm International Ltd.
http://www.visual-paradigm.com

Build Quality Applications Faster, Better and Cheaper
 
 
   Forum Index -> Object Relational Mapping (ORM)
Go to:   
Powered by JForum 2.1.4 © 2005 - Rafael Steil