• 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
How to selectively save EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to selectively save EO


  • Subject: How to selectively save EO
  • From: Louis Demers <email@hidden>
  • Date: Fri, 21 Apr 2006 00:19:51 -0400

Hi

I would like to save newly created EO immediately but there could be other objects in the default EditingContext which I do not want to commit to the database immediately.

My first attempt was to create a new short term EditignContext, insert my newly created EO in it and call saveChanges.

However because this object has a relationsip to another one in the defaultEditingContext, it cause an error about being unable to obtain globalId

Any suggestions how to acheive this ?

--

Louis Demers ing.
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: How to selectively save EO
      • From: Arturo Perez <email@hidden>
    • Re: How to selectively save EO
      • From: Ken Anderson <email@hidden>
    • Re: How to selectively save EO
      • From: Peter Vandoros <email@hidden>
References: 
 >Re: Java 1.5 & WO? (From: Gavin Eadie <email@hidden>)
 >Re: Java 1.5 & WO? (From: Galen Rhodes <email@hidden>)
 >Re: Java 1.5 & WO? (From: John Andersson <email@hidden>)
 >Re: Java 1.5 & WO? (From: John Andersson <email@hidden>)
 >Re: Java 1.5 & WO? (From: "Jerry W. Walker" <email@hidden>)
 >Re: Java 1.5 & WO? (From: Art Isbell <email@hidden>)
 >Re: Java 1.5 & WO? (From: Owen McKerrow <email@hidden>)
 >Re: Java 1.5 & WO? (From: Ryan Poling <email@hidden>)
 >Re: Java 1.5 & WO? (From: Ray Kiddy <email@hidden>)
 >Re: Java 1.5 & WO? (From: lbland <email@hidden>)

  • Prev by Date: Re: Java 1.5 & WO?
  • Next by Date: Re: How to selectively save EO
  • Previous by thread: Re: Java 1.5 & WO?
  • Next by thread: Re: How to selectively save EO
  • Index(es):
    • Date
    • Thread