• 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?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Partially saving the object graph. How?


  • Subject: Re: Partially saving the object graph. How?
  • From: Guido Neitzer <email@hidden>
  • Date: Mon, 19 Mar 2007 16:20:54 -0600

On 19.03.2007, at 00:44, Jean Pierre Malrieu wrote:

I have some instances of entity A that are not functionnal without related instances of entity B.
But in some circumstances, I need to save only the instances of object A.
What is the best strategy to acheive this?

Act according to the preface of the WebObjects training class: "Don't fight the tool". If you hack into EOF you will almost certainly run into to weirdest problems you have ever seen. Better clean up the dependency or the need for only saving A. If you struggle with the object-graph you might loose when you don't expect it (in production, during a demo for a customer, whenever you will have big trouble from it ...).


cug
_______________________________________________
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


References: 
 >Partially saving the object graph. How? (From: Jean Pierre Malrieu <email@hidden>)

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