• 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
Must an EOEnterpriseObject be inserted into EOEditingContext to use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Must an EOEnterpriseObject be inserted into EOEditingContext to use?


  • Subject: Must an EOEnterpriseObject be inserted into EOEditingContext to use?
  • From: Tom Woteki <email@hidden>
  • Date: Fri, 19 Sep 2003 13:05:07 -0400

Various WO documentation cautions that an EO should/must be inserted into an editing context before it is used. On the other hand I have seen code, which I am now using, that creates an EO using EOClassDescription.createInstanceWithEditingContext(null, null) then manipulates and validates it before inserting into an editing context and everything seems to work just fine.

Can anyone clarify the guidance for me? Is the contrary practice described above ill advised, and if so why?

TIA,
Tom
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Fetch spec "where not In"[MORE]
  • Next by Date: Deprication Override - Need To Launch with -deprecation
  • Previous by thread: Trying to read an XML file, getting java.io.StreamCorruptedException
  • Next by thread: Deprication Override - Need To Launch with -deprecation
  • Index(es):
    • Date
    • Thread