Re: Mapping multiple EOs to one table
Re: Mapping multiple EOs to one table
- Subject: Re: Mapping multiple EOs to one table
- From: Ricardo Strausz <email@hidden>
- Date: Wed, 20 Aug 2003 14:09:27 -0500
Hola
On miircoles, agos 20, 2003, at 12:21 America/Mexico_City, Chuck Hill
wrote:
Hola Ricardo,
At 11:58 AM 20/08/2003 -0500, Ricardo Strausz wrote:
Hola amiguitos!
On martes, agos 19, 2003, at 21:25 America/Mexico_City, Ray Ackland
wrote:
From what I have experimented with so far, the results are
interesting. It seems like it will work - as long as you are showing
the same fields from the different entities. When I add another field
(one which is in one entity, but not the other) sometimes it works
and
sometimes not (ie depending on which entity you add too, even though
they are both children of the parent, and should be equals).
Can you be more specific in "when does it works" and "when do not"
please. I was tring a simple experiment my self and had not found yet
anything "unspected"...
I think he meant that as long as he used KVC and only referred to
common
attributes that the fact the object was of the *wrong Java class* did
not
raise any exceptions.
I also use KVC...
May be I shoud add that, from Chuck's observations on the GolbalID, I
decided to be care not to "show" two children at the same time; that
is, if requested by the user, I use the parent entity insteed.
But that is not the same object! parent != child
Sure! but in the parent are all atributes of both (all) childs...
The only thing to care here ---as far as my experiment goes--- is to
put the "common" logic in the parent object (I mean here, the logic
which makes sense when "seeing" the holl row at once)...
Does this makes some sense to you?
Dino
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.
_______________________________________________
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.