And the story never ends :-)

After I got the relationship between two different jar files working, I ran very 
quickly in the following problem:

Entity A is in jar 1
Entity B1 is in jar 2
Entity B2 is in jar 2

Now A is having a relationship with B1. This is working perfect by calling A.getB1() 
and A.setB1().
But B1 is having a relationship with B2. When I try to call in a session bean in jar 1 
A.getB1().getB2() I get the following error:
 Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: 
methodName=XXXXXXXX

If I call B1.getB2() inside jar 2 there's no problem.

So I think I'll have to put the DD of B2 also in the DD of jar 1. But I'll also have 
to put the DD of the relationship between B1 and B2 in the DD of jar 1.

The problem is I don't know how to put these relationship tags in the DD using XDoclet.
Adding extra  tags is easy by defining an other xml file, but I can't find anything 
about adding extra <ejb-relation> tags 

Any help is welcome
Thanks a lot!!

Joris

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

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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to