this worked for me in xdoclet 1.1.2.
it doesn't work with xdoclet from cvs.
i've filed a bug 

http://sourceforge.net/tracker/index.php?func=detail&aid=580180&group_id=31602&atid=402704

and submitted a patch that fixes it.

barbee.

On Thu, Jul 11, 2002 at 07:51:11PM -0300, Emerson Cargnin - SICREDI Servi?os wrote:
+ I saw this in XDoclet samples (HEAD)
+ 
+ it's in the cmr dir (CountryBean)
+ 
+     *
+     * @jboss Unidirectional 1->N relationship unsupported by XDoclet
+     *
+ 
+ is this true : xdoclet doesn't support 1->N unidirectional relations?
+ 
+ Emerson Cargnin - SICREDI Servi�os wrote:
+ 
+ >I tried to find int he list, but found nothing. How do I specify a 1-n 
+ >unidirectional relationship using 1.1.2 xdoclet version?
+ >I had been succeded in using bidirectional relations, but when 
+ >transforming to uni :
+ >
+ >In UFEJB.java
+ >
+ >/**
+ >* @ejb:interface-method
+ >* @ejb:relation
+ >*    name="municipio-uf"
+ >*    role-name="uf"
+ >*    target-ejb="Municipio"
+ >* @jboss:auto-key-fields
+ >*/
+ >public abstract Collection getMunicipios();
+ >
+ >in MunicipioEJB.java there's no method to get UF's :
+ >MunicipioEJB class doctags:
+ > * @ejb:bean
+ > *    type="CMP"
+ > *    cmp-version="2.x"
+ > *    name="Municipio"
+ > *    local-jndi-name="local/Municipio"
+ > *    view-type="local"
+ > *    schema="Municipio"
+ > *       primkey-field="oid"
+ >
+ >
+ >
+ >It looks like xdoclet goes weel, till deployment :
+ >
+ >15:12:34,058 ERROR [EjbModule] Initialization failed


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to