• 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: David Avendasora <email@hidden>
  • Date: Wed, 29 Apr 2015 20:43:23 -0400

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

  • Prev by Date: Re: Entity Modeler exception when trying to generate SQL
  • Next by Date: Re: EOF Bug: Prefetching self-referential relationships corrupts the object graph
  • Previous by thread: 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