• 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: Batch Size not settable on relationship?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Batch Size not settable on relationship?


  • Subject: Re: Batch Size not settable on relationship?
  • From: David Avendasora <email@hidden>
  • Date: Wed, 30 Jan 2013 03:31:01 +0800

Pfffft. Amateur. I've had 4k+ selects for the same query (using different values) to load a single page. I swear I could hear ERProfiller laughing it's braces off at me in scorn.

Maybe it was just Chuck.

Anywho, ERXEnterpriseObjectCache rocked my world! I even modified my EOGen template to make it so I can add one or more ERXEnterpriseObjectCaches to an Entity by simply adding entries in the UserInfo dictionary of the Entity and/or an Attribute. The template then rewrites all the standard fetch methods in the _Entity.java to defaulting to pull data out of the cache instead of creating an EOFetchSpec that goes to the DB.

Much, much faster and no pesky, bug-riddled Davecode™. Slick.

Dave

On Jan 30, 2013, at 2:30 AM, Pascal Robert <email@hidden> wrote:

> :-/ And I have a SELECT that is executed 253 times in the same page (the qualifier is different). I guess I will have to look at ERXEnterpriseObjectCache.


—————————————————————————————
WebObjects - so easy that even Dave Avendasora can do it!™
—————————————————————————————
David Avendasora
Senior Software Abuser
Kaiten, 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: Batch Size not settable on relationship?
      • From: Chuck Hill <email@hidden>
References: 
 >Batch Size not settable on relationship? (From: Pascal Robert <email@hidden>)
 >Re: Batch Size not settable on relationship? (From: Chuck Hill <email@hidden>)
 >Re: Batch Size not settable on relationship? (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: WebObjects Optimization: EOF and Beyond
  • Next by Date: Re: Batch Size not settable on relationship?
  • Previous by thread: Re: Batch Size not settable on relationship?
  • Next by thread: Re: Batch Size not settable on relationship?
  • Index(es):
    • Date
    • Thread