• 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
Stale data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stale data


  • Subject: Stale data
  • From: Corin Lawson <email@hidden>
  • Date: Thu, 27 Sep 2007 15:12:22 +1000

Hi List,

I have been experiencing the following problem for some time now and have not been able to establish a pattern or replicate the problem, let alone solve it, please help.

The symptom is that a certain process fails because the WO (5.2.4) app is using stale or cached data, where the data has been changed in the database (mysql 5) by a separate (non-WO) system. The stale data has been known to persist for over an hour. The data in question is contained in an entity that is a to-many relationship of another entity which is being fetched.

From inspecting the standard output with DEOAdaptorDebugEnabled=true I see that in the majority of cases the entity in question and all it's related entities are being fetched each time that the process is executed. But in other cases (which are indistinguishable from the other cases AFAIK) only the entity is fetched and none of it's related entities. In all my test cases it works as I expect it to work. It is extremely frustrating that I cannot replicate the problem.

What debugging info can I turn on to distinguish the problem case from ok case?

I have tried various approaches to fix the problem, even regularly calling invalidateAllObjects() on the EOEditingContext but to no avail.

Cheers,
Corin.
_______________________________________________
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: Stale data
      • From: Gordon Belray <email@hidden>
  • Prev by Date: Re: EOOrQualifier
  • Next by Date: Timestamps getting updated unexpectedly
  • Previous by thread: Re: Managing autonumbering
  • Next by thread: Re: Stale data
  • Index(es):
    • Date
    • Thread