Re: cayenne-tutorial

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sun Oct 26 2008 - 09:18:03 EDT

  • Next message: Andrus Adamchik: "Re: cayenne-tutorial"

    Hi Theresa,

    On Oct 26, 2008, at 7:43 AM, tmgstewar..ol.com wrote:

    > I have expanded my tutorial to create more examples using all of the
    > different Cayenne features, and am now having a problem with
    > "toArtist.Artist_Name". Artist_Name is really "name", but more
    > puzzling is why I cannot seem to get the "toArtist" relationship to
    > work. I think it may be linked to the problems Matt is seeing.

    Quite possibly. The trick is to have a foreign key in the PAINTING
    table (ARTIST_ID) and connect it to the primary key (ID) in the ARTIST
    table.

    Cheers,
    Andrus



    This archive was generated by hypermail 2.0.0 : Sun Oct 26 2008 - 09:18:40 EDT