• 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: EOF Bug: Prefetching self-referential relationships corrupts the object graph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph


  • Subject: Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 29 Apr 2015 17:50:58 -0700

In actuality, my relationship is Patient<<->Responsible Patient. The responsible is the person who gets the bill in the family. So yes, if there are no dependent patients, the to-many returns an array with just the responsible, since the responsible patient relationship is mandatory. Further, I didn’t design the thing, it’s just a mirror of godawful dental practice management schemas.

But that’s boring. Really I just wanted to work the pointy haired boss<->>underlings relationship into my message somehow ;)

On Apr 29, 2015, at 5:43 PM, David Avendasora <email@hidden> wrote:

> Hi Ramsey!
>
>> On Apr 27, 2015, at 2:51 PM, Ramsey Gurley <email@hidden> wrote:
>>
>> As an example, let’s say you have an Employee entity.
>
> Okay. Way better than a “Foo"!
>
>> Employee has a relationship to Employee named manager, the reverse of which is subordinates.
>
> Right. Makes sense.
>
>> Further assume manager is top level so a manager’s manager is himself.
>
> Screeech. What?! You implement the concept of an Employee not having a related “manager” by … (did I really read that right?!) … by adding a manager?!
>
>> If you are given a single Employee, and want to know something about all subordinates,
>
> What if they don’t have any subordinates? Do you return an array of Employees consisting of just the Employee themselves?
>
> I really haven’t been able to parse the rest of the email because my brain just crashed with a buffer overflow caused by the endless recursion of fetching a manager’s manager. Fortunately, it only overwrote the part of my memory that stored my WO knowledge-base.
>
> So, can anyone help me with this Java Client app?
>
> See what you did Ramsey? See!?!?
>
> Dave
>
> —————————————————————————————
> WebObjects - so easy that even Dave Avendasora can do it!™
> —————————————————————————————
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
>
>
>
>
>
>


 _______________________________________________
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: EOF Bug: Prefetching self-referential relationships corrupts the object graph
      • From: David Avendasora <email@hidden>
References: 
 >EOF Bug: Prefetching self-referential relationships corrupts the object graph (From: Ramsey Gurley <email@hidden>)
 >Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph
  • Next by Date: Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph
  • Previous by thread: Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph
  • Next by thread: Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph
  • Index(es):
    • Date
    • Thread