Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enterprise Object Caching



Hi!

What's the best way to detect a deleted object that has been deleted in another app instance?

  Yours

Miguel Arroz

On 2006/08/25, at 15:58, Guido Neitzer wrote:

On 25.08.2006, at 16:53 Uhr, Ken Anderson wrote:

No. If you've already faulted the relationship in instance 1, that array has already been populated, and EOF will not go back to the database.

And this might sometimes be a bit tricky to handle as it is perfectly possible to show lists of objects that are long gone (deleted) from the database ... especially when you have more than one instance of your app running.


Tests should always check for these ugly cases.

So, be careful on what you assume is correct on your object graph.

cug

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com


This email sent to email@hidden


      "GUERRA E' PAZ
       LIBERDADE E' ESCRAVIDAO
       IGNORANCIA E' FORCA"       -- 1984

Miguel Arroz
http://www.ipragma.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Enterprise Object Caching (From: Marcos Trejo Munguia <email@hidden>)
 >Re: Enterprise Object Caching (From: Ken Anderson <email@hidden>)
 >Re: Enterprise Object Caching (From: Miguel Arroz <email@hidden>)
 >Re: Enterprise Object Caching (From: Ken Anderson <email@hidden>)
 >Re: Enterprise Object Caching (From: Guido Neitzer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.