ERXEC.newEditingContext() instead of the defaultEditingContext()
ERXEC.newEditingContext() instead of the defaultEditingContext()
- Subject: ERXEC.newEditingContext() instead of the defaultEditingContext()
- From: Theodore Petrosky <email@hidden>
- Date: Mon, 15 Sep 2008 09:34:08 -0700 (PDT)
I have used the ERXEC.newEditingContext() to access my database. but is another component I need to save my changes... so the defaultEditingContext doesn't help.
If I assess my data like this:
fetchResult = Order.fetchIsNotCompleted(ERXEC.newEditingContext());
I can not use:
session().defaultEditingContext().saveChanges();
I have googled and googled and can not find an answer.... sorry for the completely newbie(ized) question.
Ted
_______________________________________________
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