Thanks Pazu, that worked :) Now I can use JBoss3 beta snapshots at last, everything works as before on the january snapshots.
I only post it back to the list for helping others meeting the same problem. Christopher On Tue, Feb 26, 2002 at 08:40:13AM -0300, Marcus Brito wrote: > Em Ter, 2002-02-26 ?s 00:05, Jozsa Kristof escreveu: > > The relationship is defined as the following: > > > > in ProductBean: > > > > (...) > > > > and in ManufacturerBean: > > /** > > * @ejb:interface-method view-type="local" > > * > > * @ejb:relation > > * name="Manufacturer-Product" > > * role-name="manufacturer-has-products" > > * > > * @jboss:relation > > * fk-constraint="false" > > * related-pk-field="id" > > * fk-column="manufacturer_id" > > */ > > public abstract Collection getProducts(); > > You don't need to use @jboss:relation again here. Since this is a 1-n > relationship, the foreign key field will be located on the Product > entity, as you did. Remove the @jboss:relation tag from the Manufacturer > side of the relation. > > -- > Ja ne, > Pazu > mailto: [EMAIL PROTECTED] > > Anime Gaiden: de f?s para f?s, sempre. -- .Digital.Yearning.for.Networked.Assassination.and.Xenocide _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
