AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

2 x one-or-none-to-many

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
visionset
Guest





PostPosted: Fri Dec 08, 2006 7:54 pm    Post subject: 2 x one-or-none-to-many Reply with quote



What is the best way to map this relatationship in EJB/database

EntityA 0-1 -------- 1 EntityB 1 --------- 0-1 EntityC

Where EntityB always has either 1 EntityA or 1 EntityC, never both, never
none.
They need to be bidirectional.

Thanks,
Mike W
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.