• 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: Webobjects-dev Digest, Vol 6, Issue 142
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webobjects-dev Digest, Vol 6, Issue 142


  • Subject: Re: Webobjects-dev Digest, Vol 6, Issue 142
  • From: "Cheong Hee (Datasonic)" <email@hidden>
  • Date: Fri, 20 Feb 2009 17:12:07 +0800

Hi Amiel

On 20/02/2009, at 4:47 PM, amiel montecillo wrote:

What I mean is, in PeerEC1, i made changes to the object, the changes are
not seen in PeerEC2 thus calling PeerEC2.saveChanges() does not contain
changes in the object right?

I tried to do this in PeerEC2 (this is a bad hack):

Post p = Post.localInstanceIn(PeerEC2, this.post);
p.setSomething(this.post.something());
PeerEC2.saveChanges(); <-- this actually reflects the changes to the DB.


What could be a better route?


This URL will be useful to read on about object graph management between multiECs:


http://developer.apple.com/DOCUMENTATION/WebObjects/Reference/API5.2.3/com/webobjects/eocontrol/concepts/EOEditingContextConcepts.html#MANAGINGCHANGES



Cheers



Cheong Hee


_______________________________________________ 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
  • Prev by Date: Re: Are there any IRC Channels for WO
  • Next by Date: Re: Peer ECs in updating EO
  • Previous by thread: Re: Are there any IRC Channels for WO
  • Next by thread: [OT] Webcast tests
  • Index(es):
    • Date
    • Thread