Rupp, Heiko wrote:
Have a look at
http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1)
Yes I have read that.
I have tried "target-multiple" attribute but XDoclet seems to ignore it.
and the valueobject docment
http://xdoclet.sourceforge.net/valueobjects.html
Well, I don't see why should I
Andy,
thanks a lot for opening my eyes.
I'm new to XDoclet and I'm still learning it.
Stupid me, should have thought of that.
It's so obvious.
10x again.
Milen
Andy Jefferson wrote:
Is it possible to define one-to-many CMR using XDoclet.
Yes, as the other responder said.
I have dictionary bean:
> Is it possible to define one-to-many CMR using XDoclet.
Yes.
> (which in my opinion is correct). But how can I specify that I want
> one-to-many. I could'n find the answer for that in XDoclet
> documentation.
Have a look at
http://xdoclet.sourceforge.net/tags/[EMAIL PROTECTED](0..1)
and the
Others have already pointed out that yes you can do 1:N relationships
and that you need to tag the Collection and FooLocal accessors. Here's a
sample if you need further assistance.
User (id) <-- 1:N --> Phone (userId)
UserEJB.java___
/**
*
> Is it possible to define one-to-many CMR using XDoclet.
Yes, as the other responder said.
> I have dictionary bean:
>
> =={JAVA CODE}
> /**
> * @ejb.bean
> * name = "Dictionary"
> * type = "CMP"
> * cmp-version = "2