Re: Missing part of FK on a toOne toOne

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Oct 10 2003 - 13:48:25 EDT

  • Next message: Andrus Adamchik: "Re: auto PKs"

    On Friday, October 10, 2003, at 01:31 PM, Mike Block wrote:
    > The basic idea here is that a Dealer HASA Contact.
    >
    > There is a bi-directional toOne relationship between the two entities
    > (Contact.toDealer and Dealer.toContact). The toDepPK is not checked
    > in either direction (modeler does not allow it to be).

    ...

    > I did see the posts on this issue which pointed to making sure the
    > toDepPK is set appropriately

    Hi Mike,

    I believe that the lack of toDepPK setting on the Dealer side is still
    the most likely cause of this error. The reason why you can't check the
    checkbox in the modeler is likely because either source or destination
    attribute of the relationship is not marked as PK in the modeler (or if
    a relationship has no joins defined at all). Please doublecheck the
    mapping.

    Hope this helps

    Andrus



    This archive was generated by hypermail 2.0.0 : Fri Oct 10 2003 - 13:48:23 EDT