3 Replies Latest reply on Dec 2, 2002 7:56 AM by hvenstrom

    Problems with relationship

    alessanq

      Hi everybody!

      I configured a relationship 1:1 with 2 tables: Customer and Address, and Customer has a foreign key for Address. In the address bean, i´m calling the method findByPrimaryKey of another bean that I have. However, when I do this operation, JBoss doesn´t set the relationship between my tables(the foreign key is null). If in the address bean I don´t do this operation(finding another bean), everything is ok. Does someone know why this happen?