I'm using essentially a join table, and the primary key is set to the two
columns that constitute the join.  I clearly don't have something set up
because I'm getting this error message:


 Primary Key autogeneration only works for a single attribute.

I clearly don't need a primary key generated or this table because the key
is the combo of the two keys from the related tables.

How do I tell Cayenne to try and set the key value automatically and accept
the two values from the other tables together make a composite key.



Tony Giaccone

Reply via email to