1 Reply Latest reply on Aug 6, 2002 10:57 PM by Dain Sundstrom

    Unidirectional 1:1 mapping

    Wallace Zou Newbie

      JBOSS 3.0.0 + JDK1.4 + MySql

      I have two tables T1 and T2, the T1 want to point to T2. I set the primary key of T2 as the same one in T1. For my previous experience, one field can be either CMP or CMR field, not both. A conflict is obviously existed, the primary key of T2 must be specified as CMP, meantime, CMR is needed for it as well. How can I get this 1:1 working? I totally have no idea, need your help!