Re: EOModler and Multiple Primary Keys
Re: EOModler and Multiple Primary Keys
- Subject: Re: EOModler and Multiple Primary Keys
- From: Paul Lynch <email@hidden>
- Date: Wed, 24 May 2006 18:26:39 +0100
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden