• 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: ERD2W and EOGeneralAdaptorException
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERD2W and EOGeneralAdaptorException


  • Subject: Re: ERD2W and EOGeneralAdaptorException
  • From: Ramsey Gurley <email@hidden>
  • Date: Mon, 03 Jun 2013 15:33:15 -0700

Here at work, I just have one page config where I use refreshRefetchedObjects at the moment.

On Jun 3, 2013, at 2:50 PM, Tim Worman wrote:

> Ramsey:
>
> Thanks much. I'll check out freshness explorer.
>
> What do you do for D2W typically? Clobber all fetches with a rule and have it always refreshRefetchedObjects for everything or do you typically only put a rule in for certain views and relationships?
>
> Tim
>
> On Jun 3, 2013, at 1:19 PM, Ramsey Gurley <email@hidden> wrote:
>
>>
>> On Jun 3, 2013, at 12:06 PM, Tim Worman wrote:
>>
>>> an optimistic locking problem I believe. If I kick a new instance everything is fine.
>>
>> That sounds like you need to refreshRefetchedObjects on your fetch spec. If you've previously fetched a row, and then another instance changes that same row, then you fetch the row again in the first instance, the snapshot is not refreshed unless you tell it do so explicitly.
>>
>> With the default false value for refreshRefetchedObjects, you can actually fetch with a qualifier q, and then filter your fetched array with q in memory and get a smaller array of results.
>>
>> I suggest playing around with the freshness explorer app for a few minutes. I found the results to be eye opening.
>>
>> https://github.com/nullterminated/ponder/blob/master/ERR2d2w/Support/FreshnessExplorer.zip
>>
>> Ramsey
>>
>


 _______________________________________________
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

References: 
 >ERD2W and EOGeneralAdaptorException (From: Tim Worman <email@hidden>)
 >Re: ERD2W and EOGeneralAdaptorException (From: Ramsey Gurley <email@hidden>)
 >Re: ERD2W and EOGeneralAdaptorException (From: Tim Worman <email@hidden>)

  • Prev by Date: Re: ERD2W and EOGeneralAdaptorException
  • Next by Date: Re: ERD2W and EOGeneralAdaptorException
  • Previous by thread: Re: ERD2W and EOGeneralAdaptorException
  • Next by thread: Re: javax.servlet.UnavailableException: Error initializing servlet adaptor: null
  • Index(es):
    • Date
    • Thread