Me again! I'm at work now. I tried using type="java.util.Collection" istead of type="Collection" and it seems to work fine. At least it compiles without errors with xDoclet 1.2 final.
Lars On Sat, 2004-04-17 at 12:06, Rupp, Heiko wrote: > I am doing: > > /** > > * @ejb.interface-method > > * @ejb.relation name = "fasel" > > * target-ejb = "Bla" > > * @ejb.value-object relation = "external" > > * @jboss.load-group > > * @jboss.load-group name="foo" > > * @return > > */ > > public abstract Collection getBlubb(); > > > > and it just does what I want. > > Note that the ejb-spec says: > > <!-- > > The cmr-field-type element specifies the class of a collection-valued > > logical relationship field in the entity bean class. The value of the > > cmr-field-type element must be either: java.util.Collection or > > java.util.Set. > > Used in: cmr-field > > --> > > <!ELEMENT cmr-field-type (#PCDATA)> > > So a type of just 'Collection' seems wrong. > > > > ______________________________________________________________________ > Von: [EMAIL PROTECTED] im Auftrag von Lars > Rohleder > Gesendet: Sa 17.04.2004 11:48 > An: [EMAIL PROTECTED] > Betreff: Re: [Xdoclet-user] Bug in xDoclet 1.2 final? > > > > Hi Heiko! > > I couldn't get your snapshot to work with my project. It says he can't > find all the doclets. > But I checked out a version via cvs using: > cvs -d:pserver:[EMAIL PROTECTED]:/home/xdoclet > If I get the newest version by this checkout it still doesn't generate > the > value objects correctly. > > Maybe I should just use type="java.util.Colletion" and not just > type="Collection" (which worked fine till 1.2b3)? > > Lars > > > ------------------------------------------------------- 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
