Re: Need help with PSQLException

From: Dhruti Ramani (dhrutiraman..ahoo.com)
Date: Fri Jun 03 2005 - 10:35:43 EDT

  • Next message: Dhruti Ramani: "Having trouble with getting relations in cayenne modeler"

    Thanks Andrus.
     
    Denna

    Andrus Adamchik <andru..bjectstyle.org> wrote:
    Ok, to ensure 1..1 relationship consistency, you should probably remove
    current PK column from PrimaryDocumentationReviewResult ("docReview_id"),
    and use "deal_id" as a PK instead. As there is only one review for each
    deal (right?), a review will use Deal's pk as both PK and FK to Deal.

    Once you set it up like that, check Deal ->
    PrimaryDocumentationReviewResult "to dep pk" checkbox and you should be
    all set.

    Andrus

                    
    ---------------------------------
    Do you Yahoo!?
     Read only the mail you want - Yahoo! Mail SpamGuard.



    This archive was generated by hypermail 2.0.0 : Fri Jun 03 2005 - 10:35:47 EDT