Jon, I don't see any mistake here. You can mail me a testcase and I'll try to figure it out.
alex Thursday, December 19, 2002, 12:42:18 PM, you wrote: JF> Thanks for your patience. JF> Every relation-role exists and seem ok in my eyes (xml below). JF> Since this looks ok i suspect my code. The Tripstatus does not have any xdoclet tag to trip, since trips relation to tripstatus is JF> unidirectional. Trip still contains this on the getTripStatus() method: JF> * @ejb.interface-method view-type="local" JF> * @ejb.relation JF> * name="tripstatus-cmp20-trip-cmp20" JF> * role-name="trip-cmp20-has-tripstatus-cmp20" JF> * target-role-name="tripstatus-cmp20-has-trip-cmp20" JF> * target-ejb="Tripstatus" JF> * @jboss.relation-mapping style="foreign-key" JF> * @jboss.relation JF> * fk-column="tripstatusid" JF> * related-pk-field="tripstatusid" JF> */ JF> I really appreciates your help and time. Its really frustrating not to discover a solution - i dont know how many hours i've spent JF> on this :) *sigh* JF> -Jon JF> The jbosscmp-jdbc.xml looks like this: JF> ---------------------------------------- JF> <ejb-relation> JF> <ejb-relation-name>tripstatus-cmp20-trip-cmp20</ejb-relation-name> JF> <foreign-key-mapping/> JF> <ejb-relationship-role> JF> <ejb-relationship-role-name>trip-cmp20-has-tripstatus-cmp20</ejb-relationship-role-name> JF> </ejb-relationship-role> JF> <ejb-relationship-role> JF> <ejb-relationship-role-name>tripstatus-cmp20-has-trip-cmp20</ejb-relationship-role-name> JF> <key-fields> JF> <key-field> JF> <field-name>tripstatusid</field-name> JF> <column-name>tripstatusid</column-name> JF> </key-field> JF> </key-fields> JF> </ejb-relationship-role> JF> </ejb-relation> JF> The ejb-jar.xml looks like this: JF> ---------------------------------------- JF> <ejb-relation > JF> <ejb-relation-name>tripstatus-cmp20-trip-cmp20</ejb-relation-name> JF> <ejb-relationship-role > JF> <ejb-relationship-role-name>trip-cmp20-has-tripstatus-cmp20</ejb-relationship-role-name> JF> <multiplicity>One</multiplicity> JF> <relationship-role-source > JF> <ejb-name>Trip</ejb-name> JF> </relationship-role-source> JF> <cmr-field > JF> <cmr-field-name>tripstatus</cmr-field-name> JF> </cmr-field> JF> </ejb-relationship-role> JF> <ejb-relationship-role > JF> <ejb-relationship-role-name>tripstatus-cmp20-has-trip-cmp20</ejb-relationship-role-name> JF> <multiplicity>One</multiplicity> JF> <relationship-role-source > JF> <ejb-name>Tripstatus</ejb-name> JF> </relationship-role-source> JF> </ejb-relationship-role> JF> </ejb-relation> -- Best regards, Alex Loubyansky ------------------------------------------------------- This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user