• 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: Dealing with temporary EOs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dealing with temporary EOs


  • Subject: Re: Dealing with temporary EOs
  • From: Anjo Krank <email@hidden>
  • Date: Sat, 23 Jul 2005 21:53:54 +0200


Am 23.07.2005 um 21:44 schrieb Logan Allred:


The only other solution I can think of is to delete all of the EOs that the user ignores, and then just save the peer editing context. Is this the recommended solution? This is the solution I'm going to implement, unless I get a better suggestion. Hopefully it's not too expensive, as the common case is for the user to do nothing, or maybe save a few.



Gee, I always wonder why people are concerned about performance when the didn't even check? Yes, the easiest way is to either delete the objects that won´t be saved or call ec.revert() if all are to be discarded. (Or do nothing and wait until the session ends and they are collected.)


Cheers, Anjo


_______________________________________________ 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: 
 >Dealing with temporary EOs (From: Logan Allred <email@hidden>)

  • Prev by Date: Dealing with temporary EOs
  • Next by Date: Re: EOModeler Question
  • Previous by thread: Dealing with temporary EOs
  • Next by thread: EO duplication [was: Dealing with temporary EOs]
  • Index(es):
    • Date
    • Thread