-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: how would you map this?
PostPosted: Mon May 02, 2005 5:53 pm 
Newbie

Joined: Mon May 02, 2005 5:27 pm
Posts: 1
i'm extending an existing Party domain model. Party is the parent type of Organization, Individual and Person, and aggregates various Contacts (Address, Phone, Email).

i need to relate one Party to another by role. the UC dictates getting all parties in (subject or object) role to the given party.

so i might introduce a table to hold the fairly static role types (PartyRoleType), and another "join" table (PartyRole) with columns for PartySubject, PartyRoleType and PartyObject.

i can see several possible mapping approaches. any suggestions on mapping this the "Right Way" ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.