Title: Re: [Xdoclet-user] Bug in xDoclet 1.2 final?
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

Reply via email to