Re: Peer ECs in updating EO
Re: Peer ECs in updating EO
- Subject: Re: Peer ECs in updating EO
- From: amiel montecillo <email@hidden>
- Date: Fri, 20 Feb 2009 12:41:57 +0800
Positively sure. I am also using ERXEC.newEditingContext() to create a peer ec.
Amiel
On Fri, Feb 20, 2009 at 12:37 PM, Lachlan Deck
<email@hidden> wrote:
On 20/02/2009, at 3:30 PM, amiel montecillo wrote:
I have a problem on an update operation where using a peer EC does not
reflect the changes to the DB. I can see the EOs object instance values
updated before calling ec.saveChanges() but those new values are not
relected on the DB.
However, if I use session().defaultEditingContext().saveChanges(), the new
values are reflected in the DB.
Am I missing something?
Are you sure you're using a peer ec and not a nested ec?
with regards,
--
Lachlan Deck
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
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