On 24 May 2006, at 03:28, Owen McKerrow wrote:

When modelling the relationship between SubTopicName and TopicName and then trying to save
we get the following error

Relationship TopicName in entity SubTopicName is a to-one relationship, but its destination
attribute(s) does not match the primary key of the destination entity.

I would suggest reimplementing the relationship as a method invoking a fetch for the appropriate SQL. You might also define a to-many relationship, and return the first object from the array.

Paul

_______________________________________________
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