Re: Traversing keys or EOEntities
Re: Traversing keys or EOEntities
- Subject: Re: Traversing keys or EOEntities
- From: "Jonathan Fleming" <email@hidden>
- Date: Thu, 13 Feb 2003 06:42:20 +0000
Yes Aturo, this is what I was looking for, in fact I went a little way down
this road with using keyValueCoding but my head was hurting too much and I
couldn't think so I reverted before I went way over the top with changes.
That now means nothing because I've gone over the top anyway and completly
changed the EOModel to a oneToMany.
But if your resolution is a real solution for this kind of a problem then I
will hold on to that info for future reference. I'll go back mid next week
to see if it really would have worked in my situation, if so, I'll be able
to utilise the solution in another app.
Many thanks Aturo for sharing that info.
Jonathan
From: Arturo Pirez <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden, email@hidden,
email@hidden
Subject: Re: Traversing keys or EOEntities
Date: Wed, 12 Feb 2003 20:47:58 -0500
On Wednesday, February 12, 2003, at 03:27 PM, Jonathan Fleming wrote:
Hi Art or anyone else that can help:
this is the relationship:
tbClient-(owns tbClientData, propagates primary key) > <
(mandatory)-tbClientData
We ran into something similar. We had an entity owned by another entity.
When we created the latter (in your case, the tbClient) EOF would
automatically create the former (in your case, tbClientData).
Then we would create and add our own. EOF would subsequently complain. It
tooks us two 60 hour weeks to figure that one out.
In our resolution we would create the tbClient and then
tbClientData = tbClient.valueForKey("tbClientData");
and then fill the tbClientData up.
Is that what's happening to you?
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
_________________________________________________________________
Surf together with new Shared Browsing
http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.