• 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: Partially saving the object graph. How? (Jean Pierre Malrieu)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partially saving the object graph. How? (Jean Pierre Malrieu)


  • Subject: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 19 Mar 2007 17:58:29 -0400

childEC.saveChanges()
 parentEC.saveChanges

If you don't save the parent, the changes won't be saved to the database.
right, yes, my bad ... so just to be clear, Chuck is saying in ADDITION to childEC.saveChanges(), you also then do a parentEC.saveChanges() (childEC.saveChanges() commits to parent, then parentEC commits to the database .. well assuming it's not itself a child of another EC).

ms

_______________________________________________
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: Partially saving the object graph. How? (Jean Pierre Malrieu)
      • From: Ken Anderson <email@hidden>
References: 
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Jean Pierre Malrieu <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Chuck Hill <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Jean Pierre Malrieu <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Chuck Hill <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Mike Schrag <email@hidden>)
 >Re: Partially saving the object graph. How? (Jean Pierre Malrieu) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Next by Date: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Previous by thread: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Next by thread: Re: Partially saving the object graph. How? (Jean Pierre Malrieu)
  • Index(es):
    • Date
    • Thread