Add to that I can't work out how to get set mappings to work. Can anyone
elaborate?

I have a set as a CMP field, the mapping of which looks simple enough, but
either XDoclet errors OR just hangs all together at the generation of
orion-ejb-jar.xml (until I kill it).

-mike


Mike Cannon-Brookes :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
     Supporting YOUR J2EE World



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike
> Cannon-Brookes
> Sent: Friday, October 19, 2001 12:03 AM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] <orion />
>
>
> Just been using the Orion tags, here's a few additions for whoever does /
> maintains them:
>
> - in the docs, name should be persistence-name (name of the column). Not
> sure what the docs for persistence-name mean?
> - there is no way to set a table name for an entire bean -
> presumably should
> be something like @orion:table-name as a class level tag.
> Currently this has
> to be merged in which is a PITA for one attribute which everyone uses.
>
> I'm sure there'll be more as I get to 'em, but the rest is
> working great so
> far!
>
> -mike
>
>
> Mike Cannon-Brookes :: [EMAIL PROTECTED]
>
> Atlassian :: http://www.atlassian.com
>      Supporting YOUR J2EE World
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Aslak
> > Helles�y
> > Sent: Thursday, October 18, 2001 9:59 PM
> > To: Colin Daly; [EMAIL PROTECTED]
> > Subject: RE: [Xdoclet-user] one-many unidirectional relationship
> >
> >
> > As I said a couple days ago, uni-directional relations are still
> > broken. It
> > doesn't work. I'll notify the list when it's fixed. I've posted a bug
> > report:
> >
> > http://sourceforge.net/tracker/?func=detail&atid=402704&aid=472033
> > &group_id=
> > 31602
> >
> > <aslak/>
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> Colin Daly
> > > Sent: 18. oktober 2001 10:06
> > > To: [EMAIL PROTECTED]
> > > Subject: [Xdoclet-user] one-many unidirectional relationship
> > >
> > >
> > >
> > >  how do i get to this
> > >
> > > <ejb-relation>
> > >   <ejb-relation-name>Order-LineItems</ejb-relation-name>
> > >   <ejb-relationship-role>
> > >
> > >
> >
> <ejb-relationship-role-name>OrderHasLineItems</ejb-relationship-role-name>
> > >           <multiplicity>One</multiplicity>
> > >           <relationship-role-source>
> > >                   <ejb-name>OrderEJB</ejb-name>
> > >           </relationship-role-source>
> > >           <cmr-field>
> > >                   <cmr-field-name>lineItems</cmr-field-name>
> > >
> > > <cmr-field-type>java.util.Collection</cmr-field-type>
> > >           </cmr-field>
> > >   </ejb-relationship-role>
> > >   <ejb-relationship-role>
> > >
> > >
> <ejb-relationship-role-name>LineItemInOrder</ejb-relationship-role-name>
> > >           <multiplicity>Many</multiplicity>
> > >           <cascade-delete/>
> > >           <relationship-role-source>
> > >                   <ejb-name>LineItemEJB</ejb-name>
> > >           </relationship-role-source>
> > >   </ejb-relationship-role>
> > > </ejb-relation>
> > >
> > > i've tried this
> > >
> > >     /**
> > >      * @return a collection of line items
> > >      *
> > >      * @ejb:interface-method
> > >      * @ejb:relation
> > >      *      name="Order-LineItems"
> > >      *      role-name="OrderHasLineItems"
> > >      *      target-ejb="LineItemEJB"
> > >      *      target-role-name="LineItemInOrder"
> > >      *
> > >      */
> > >     public abstract Collection getLineItems();
> > >
> > >
> > > and i get a many-to-one instead of a one-to-many
> > >
> > > _______________________________________________
> > > Xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to