Re: one-to-many problem

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue May 13 2008 - 08:04:03 EDT

  • Next message: Garcia Corral, Josep: "RE: how can I use two different databases in one web application?"

    On May 12, 2008, at 10:18 PM, Scott Anderson wrote:

    > Seems like a pointless annotation; vaguely equivalent to the reverse
    > of the relationship being ON DELETE CASCADE.

    Not really. It tells Cayenne which table owns the PK and which table
    borrows it from master. E.g. consider many-to-many cases with a join
    table.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue May 13 2008 - 08:04:37 EDT