• 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: multiple objects in an EO, how to saveChanges() on only one
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple objects in an EO, how to saveChanges() on only one


  • Subject: Re: multiple objects in an EO, how to saveChanges() on only one
  • From: Ken Anderson <email@hidden>
  • Date: Sat, 15 Oct 2005 17:49:54 -0400

You can't.  Can you enlighten the list as to why you want to do this?

The proper thing to do is to have more than one editing context.

Ken

On Oct 15, 2005, at 5:46 PM, Dev WO wrote:

Hi list,
I have different object in the editing context, lets say a, b and c.
I need to save changes to the database only for b (for example;)).
I though b().editingContext().saveChanges() would do the trick, but it also tries to save all other object...


Anyone with a clue on how to handle this?

Thanks a lot

Xavier
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.com


This email sent to email@hidden


_______________________________________________ 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: multiple objects in an EO, how to saveChanges() on only one
      • From: Dev WO <email@hidden>
References: 
 >multiple objects in an EO, how to saveChanges() on only one (From: Dev WO <email@hidden>)

  • Prev by Date: multiple objects in an EO, how to saveChanges() on only one
  • Next by Date: Re: multiple objects in an EO, how to saveChanges() on only one
  • Previous by thread: multiple objects in an EO, how to saveChanges() on only one
  • Next by thread: Re: multiple objects in an EO, how to saveChanges() on only one
  • Index(es):
    • Date
    • Thread