Re: Bindings From 2 Entities - How?
Re: Bindings From 2 Entities - How?
- Subject: Re: Bindings From 2 Entities - How?
- From: "Jonathan Fleming" <email@hidden>
- Date: Wed, 05 Mar 2003 20:02:48 +0000
From: Art Isbell <email@hidden>
To: email@hidden
Subject: Re: Bindings From 2 Entities - How?
Date: Wed, 5 Mar 2003 08:39:04 -1000
On Wednesday, March 5, 2003, at 07:45 AM, Jonathan Fleming wrote:
Firstly, the EOModel Entity relationships are TbNavPage(toOne) >> <
(toMany)TbNavPageContentPosition
The statements code below make up a fetch specification from the
attributes of the Entity TbNavPageContentPosition
but there is an attribute in the toOne table/entity - TbNavPage - which I
would like to include in the bindings.
How do I fix this (if possible) so that I can uncomment the 2 bits of
offending code and include the property navPageName from the TbNavPage
entity/table?
Use key paths rather than just keys. E.g., "tbNavPage.navPageName",
assuming that the to-one relationship's name is "tbNavPage".
OK, with this done, I'm missing one other linking / key path solution
because I get this error :
sqlStringForKeyValueQualifier: attempt to generate SQL for
com.webobjects.eocontrol.EOKeyValueQualifier (navPageName = 'Home') failed
because attribute identified by key 'navPageName' was not reachable from
from entity 'TbNavPageContentPosition'
Aloha,
Art
http://homepage.mac.com/aisbell/
_______________________________________________
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.
_________________________________________________________________
Worried what your kids see online? Protect them better with MSN 8
http://join.msn.com/?page=features/parental&pgmarket=en-gb&XAPID=186&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.