• 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
Change Object in EOSharedEditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Change Object in EOSharedEditingContext


  • Subject: Change Object in EOSharedEditingContext
  • From: "Xia, Wen" <email@hidden>
  • Date: Fri, 19 Mar 2004 16:38:25 -0800

I have a fetch spec that returns the results from the database into a
NSMutableArray array1.  When I try to manipulate the data in array1 (not
update to the database), I always get the error of
java.lang.IllegalArgumentException: attempt to change object in a shared
editing context.  I tried to create array2 using array2 =
array1.mutableClone(), and manipulate data in array2 instead, the same
problem persists.  Does that mean array2 is still under the control of
EOSharedEditingContext?  I don't quite understand how this works.  How do I
get around with it?  Appreciate your help.  -- Wen
_______________________________________________
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.


  • Follow-Ups:
    • Re: Change Object in EOSharedEditingContext
      • From: Art Isbell <email@hidden>
  • Prev by Date: LDAP password with EOModeler?
  • Next by Date: Re: Change Object in EOSharedEditingContext
  • Previous by thread: Re: LDAP password with EOModeler?
  • Next by thread: Re: Change Object in EOSharedEditingContext
  • Index(es):
    • Date
    • Thread