Hello!

CMP supports binary associations. But what do you do if you have to model for 
example 3nary relationships? 

Does EJB-CMP also support this or do I have to implement it myself. 

I think of introducing a new RelationshipBean, lets say ABCRelationBean, that 
holds the ids of the other three classes ABean, BBean, CBean that I want to 
have associations with each other. 

Then I create a association 1:n ABean to ABCRelationBean, 1:m BBean to 
ABCRelationBean and 1:k CBean to ABCRelationBean.  With this relations I can 
now implement relations from A to B,C ...

Any other and better idea?

Thank you very much in advance. 


Jörg



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950463#3950463

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950463


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to