cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <>
Subject Re: Querying join table
Date Wed, 03 May 2006 20:32:22 GMT
On 5/3/06, Fredrik Liden <> 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.

View raw message