but the rc2 doesn't complains... Other question : for this kind of relationship DO I really need to have the jbosscmp-jdbc.xml file configuration?
After a change in the version of jboss (rc3 if i remember) it started to give me some errors, so I had to put the following tag in one of the sides of the relationship. Is there other way to solve this without using jboss specific tags?? * @jboss:relation * related-pk-field="oid" by the way, xdoclet could put the same of the field as the default : ) Dain Sundstrom wrote: > You have the following in your jbosscmp-jdbc.xml file: > > <ejb-relationship-role> > <ejb-relationship-role-name>MunicipioEJB</ejb-relationship-role-name> > <key-fields> > <key-field> > <field-name>oid</field-name> > <column-name></column-name> > </key-field> > </key-fields> > </ejb-relationship-role> > > Notice the empty column-name element. This must contain a valid column > name (e.g., municipio_oid). > > ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development