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: Sat, 08 Mar 2003 20:18:20 +0000
Hi Chuck, I disappeared for a few day to clean this lot up due largely to
your comments. They infuriated me not because they were incorrect, but
because I kept getting it wrong, however, your comments drove me on to get
it right and I did in the end.
Normalizing the data was one thing but then i was trying to fetch and save
the objects from both tables/entities from within a single java file/class.
Maybe this is possible but I wasn't getting there I had to split it so that
I had seperate classes/java files, when I did that everything started
working just fine.
Amazing what a good kick in the backside will make one do.
Thanks
Jonathan
From: Chuck Hill <email@hidden>
To: "Jonathan Fleming" <email@hidden>,
email@hidden, email@hidden
Subject: Re: Bindings From 2 Entities - How?
Date: Wed, 05 Mar 2003 12:34:16 -0800
At 08:23 PM 05/03/2003 +0000, Jonathan Fleming wrote:
>>Sounds like the to-one from TbNavPageContentPosition to TbNavPage is
either
>>not modelled, or not done correctly. However, modelling back pointing
>>relationships from lookup tables to the objects using them can be a real
>>drag on performance.
>
>This is a table that only moderaters will be able to edit so I don't
think
>it will be such a problem, unless you think otherwise.
>
That depends on how many rows are in each table.
>>You never said what EO
>>EOQualifier qualifier =
>>EOQualifier.qualifierToMatchAllValues(queryBindings);
>>was fetching.
>
>it's fetching TbNavPageContentPosition
>
Why? Isn't this a lookup list? I'm clear on what you are doing this for.
I don't usually fetch a lookup list then navigate to other records.
Usually you fetch other records and navigate to the name in the list.
>>Perhaps the key path you want goes the other way:
>>navPageName.name?
>
>No, the path is tbNavPageContentPosition.tbNavPage.navPageName
>
The content position is the most important? It knows the NavPage which
knows the NavPageName? Shouldn't that be NavPage knows the NavPageName and
NavPage which knows the NavPageContentPosition, but NavPageName and
NavPageContentPosition don't know (or about) each other?
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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.
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends
http://messenger.msn.co.uk
_______________________________________________
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.