• 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: EditingContext-Sync [was: WOLongResponesePage Problem]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EditingContext-Sync [was: WOLongResponesePage Problem]


  • Subject: Re: EditingContext-Sync [was: WOLongResponesePage Problem]
  • From: Alexander Spohr <email@hidden>
  • Date: Wed, 28 May 2008 13:51:57 +0200


Am 27.05.2008 um 22:58 schrieb Tonny Staunsbrink:

The reason consider using the same editing context, is that sooner or later i properly wan't my eo's to be displayed to the user

At the end of the LongResponse I guess?

and usign two ec's will either force me to localize eo's (and using global ids), which i consider a bit clumsy,

You either localize them or just fetch them into the new EditingContext. Nothing clumsy about it.


or i will have to keep a reference to the newly created ec in the background job, and that bookkeeping adds up, if the user can perform several backend jobs.

The EditingContexts do the bookkeping anyway and saveChanges() will propagate the changes.


If you are about to create new objects, I'd recommend using a new EditingContext anyway, otherwise you might blow the whole Session if something goes wrong.

Or did I miss your point?

	atze

_______________________________________________
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: 
 >WOLongResponesePage Problem (From: santoshg <email@hidden>)
 >Re: WOLongResponesePage Problem (From: Patrick Middleton <email@hidden>)
 >Re: WOLongResponesePage Problem (From: Lachlan Deck <email@hidden>)
 >Re: WOLongResponesePage Problem (From: "Tonny Staunsbrink" <email@hidden>)
 >Re: WOLongResponesePage Problem (From: Guido Neitzer <email@hidden>)
 >Re: WOLongResponesePage Problem (From: "Tonny Staunsbrink" <email@hidden>)

  • Prev by Date: Re: ERXValidationException out of a Unique Constraint Violation
  • Next by Date: ERXServletAdaptor source?
  • Previous by thread: Re: WOLongResponesePage Problem
  • Next by thread: iPhone and WebObjects
  • Index(es):
    • Date
    • Thread