Re: Querying join table

From: Mike Kienenberger (mkienen..mail.com)
Date: Wed May 03 2006 - 16:32:22 EDT

  • Next message: Marek Wawrzyczny: "CayenneServlet response appears not to be GC'ed"

    On 5/3/06, Fredrik Liden <flide..ranslate.com> wrote:
    > The "to dep PK" should be checked in the PERSON_SURVEY table right and
    > not in the SURVEY and PERSON tables right? Any ideas why the top code
    > doesn't work?

    No, just the opposite. You need to have "to dep PK" check in SURVEY
    and in PERSON, but not on PERSON_SURVEY. The values of the join
    table primary keys depend on the primary keys of the other two tables.

    This is probably the reason you're having PK generation errors.



    This archive was generated by hypermail 2.0.0 : Wed May 03 2006 - 16:32:48 EDT