• 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: Snapshot problems SOLVED, FOR REAL, NO JOKE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snapshot problems SOLVED, FOR REAL, NO JOKE


  • Subject: Re: Snapshot problems SOLVED, FOR REAL, NO JOKE
  • From: Lachlan Deck <email@hidden>
  • Date: Mon, 23 Apr 2007 08:24:36 +1000

Hi Steven,

On 23/04/2007, at 5:27 AM, Steven Mark McCraw wrote:

The problem? NESTING THE EDITING CONTEXT. I'm not kidding. It was a matter of changing

ERXEC.newEditingContext(session.defaultEditingContext())

to

ERXEC.newEditingContext();

While you're there, have a go at:

public class Session ... {

	EOEditingContext _defaultEc;

	public Session() {

	}

	public EOEditingContext defaultEditingContext() {
		if ( _defaultEc == null )
			_defaultEc = ERXEC.newEditingContext();
		return _defaultEc;
	}

	public EOEditingContext getNestedEc() {
		return ERXEC.newEditingContext(defaultEditingContext());
	}
}

with regards,
--

Lachlan Deck



_______________________________________________
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: Snapshot problems SOLVED, FOR REAL, NO JOKE
      • From: "Guido Neitzer" <email@hidden>
References: 
 >Snapshot problems SOLVED, FOR REAL, NO JOKE (From: Steven Mark McCraw <email@hidden>)

  • Prev by Date: Re: Snapshot problems SOLVED, FOR REAL, NO JOKE
  • Next by Date: Re: Snapshot problems SOLVED, FOR REAL, NO JOKE
  • Previous by thread: Re: Snapshot problems SOLVED, FOR REAL, NO JOKE
  • Next by thread: Re: Snapshot problems SOLVED, FOR REAL, NO JOKE
  • Index(es):
    • Date
    • Thread