Hi,
i'm a beginner in xdoclet, so my question is really
simple, but...
I got two CMPs that are mapped one-to-one on my
database tables.

-Table Company has COMPANY_ID as its PK (does NOT 
 reference table Store)
-Table Store has STORE_ID as it's PK and COMPANY_ID as
 it's FK

The relationship is the following
- 1 company has 1..N stores
- 1 store always belong to 1 company

In my StoreBean i have the following method
- public CompanyLocal getCompany()
In my CompanyBean i DON'T have any methods referencing
StoreBean.

My problem is that i just can't get the @ejb.relation
tags correctly to generate correct code in my
ejb-jar.xml. I've searched under xdoclet documents and
site, but couldn't solve this problem. 

So, could any one explain me (if its possible with an
example) what should be done. I mean, in wich beans i
got put the @ejb.relation tag (or any other else
needed)?

Thanks in advance,
ltcmelo


______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora! 
http://br.download.yahoo.com/messenger/


-------------------------------------------------------
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
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to