I'm using Xdoclet and I'm trying to create a relation from one EJB (a) to two other 
EJBs (b and c). EJB a will use the same primary key for both relationships. In EJB a 
I've got @ejb.. and @jboss..  tags for both relationships, but I get a serious 
Exception when deploying. 

The error says: "Both roles of a relation-table mapped relationship must have key 
fields: ejb-relation-name=group-cmp20-kpi-cmp20, ObjectName: 
jboss.j2ee:jndiName=/scorecardremote,service=EJB"

If i remove one of the relationships (a-b or a-c) so there is only one relationship 
left everything works fine, so there is no error there i suppose. But as said, when i 
try to use both relationships at the same time i get this error. Anyone knows what to 
do?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to