RE: set method fails on relationship

From: JR Ruggentaler (j..pv.com)
Date: Wed Aug 21 2002 - 01:38:40 EDT

  • Next message: Marian Simpetru: "Is this list used?"

    I created a bug report (598104 Foreign key not save in source entity
    2002-08-21 05:31 mensk jruggentaler) for this. I tried attaching my test
    project to the bug report but bug tracker rejected it due to size. I can
    email directly to anyone who would like to looking into this bug.

    J.R.

    -----Original Message-----
    From: Andrus [mailto:andru..bjectstyle.org]
    Sent: Tuesday, August 20, 2002 11:50 PM
    To: JR Ruggentaler
    Cc: cayenne-use..bjectstyle.org
    Subject: RE: set method fails on relationship

    At 10:09 AM 8/20/2002 -0500, you wrote:

    >Ok I changed the code as suggested by Andrus and I no longer get and
    >exception but when I look at the database PERSON.ADDRESS_ID is null so I
    >am back to my original problem. What's the correct method to set
    >relationships? Here is the new code.

    Hmm.. I have a similar JUnit test case that passes successfully.

    One idea. Try setting reverse relationship from address to person in the
    map. If it works after that, could you please file a bug at
    http://sourceforge.net/tracker/?group_id=48132&atid=452068 describing the
    situation?

    I can do this myself as well.

    Thanks

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed Aug 21 2002 - 01:38:19 EDT