• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: vertical inheritance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertical inheritance


  • Subject: Re: vertical inheritance
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 22 May 2007 05:54:11 +1000

On 22/05/2007, at 5:34 AM, Mike Schrag wrote:

Looking back, it's not quite as bad as I thought -- It's just that they chose not to flatten a relationship of the same name, they copied it. Creature.folderDatas vs Person.folderDatas. This leads me to question whether it's intentionally not flattened or whether it's a mistake and should have been flattened.

Actually, that raises a good point. So the relationships ought not flattened but copied (apart from internalInfo). We see below that the attributes that they join on are already flattened in the child... that's why the relationship shouldn't also be flattened but copied. Okay, that makes sense.


Creature:
{
deleteRule = EODeleteRuleCascade;
destination = FolderData;
internalInfo = {_nameInObjectStore = folderDatas; };
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = ({destinationAttribute = dataId; sourceAttribute = creatureId; });
name = folderDatas;
ownsDestination = Y;
propagatesPrimaryKey = Y;
},
Person:
{
deleteRule = EODeleteRuleCascade;
destination = FolderData;
isToMany = Y;
joinSemantic = EOInnerJoin;
joins = ({destinationAttribute = dataId; sourceAttribute = creatureId; });
name = folderDatas;
ownsDestination = Y;
propagatesPrimaryKey = Y;
},


with regards,
--

Lachlan Deck



_______________________________________________
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


  • Follow-Ups:
    • Re: vertical inheritance
      • From: Mike Schrag <email@hidden>
References: 
 >vertical inheritance (From: Mike Schrag <email@hidden>)
 >Re: vertical inheritance (From: Robert Walker <email@hidden>)
 >Re: vertical inheritance (From: Mike Schrag <email@hidden>)
 >Re: vertical inheritance (From: Lachlan Deck <email@hidden>)
 >Re: vertical inheritance (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: vertical inheritance
  • Next by Date: Re: vertical inheritance
  • Previous by thread: Re: vertical inheritance
  • Next by thread: Re: vertical inheritance
  • Index(es):
    • Date
    • Thread