Hi all,

I have a Many-to-Many relationship and the join table does _not_ have a 
compound PK. It has a normal PK with a dataType of Long. The FKs that represent 
the to-One relationships on the join table are simply FKs and not part of the 
PK.

I would like to flatten the toMany relationships, but when I add an object to 
the relationship and EOF tries to create a row in the join table it  tries to 
create a compound PK for the join table, even though the Model is very clear as 
to what the PK is. 

Is this the normal EOF behavior to ignore the Model's PK settings for the join 
table and just assume that the PK is compound?

I've always avoided flattened relationships because every time I try to use 
them I run into problems and give up and go back to regular relationships 
because it seems the work that flattened relationships save always gets offset 
by the limitations they impose (either that or my limitations of ability to use 
them properly).

Dave _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to