On 26.06.2006, at 18:19, Zac Konopa wrote:

After the data has been validated I lock the editing context, instantiate my record, assign the values from my instance variables, insert the object into the ec, and when appropriate I save the changes to the ec. 


This troubles me. Is this the exact sequence? Then you will end up in trouble eventually - and your problems may be because of this. Never ever modify your EO's variables before the EO is inserted into an editing context. You may want to use the follwing EOUtilities method createAndInsertInstance(EOEditingContext ec, String entityName).

Good luck and have fun
---markus---

Markus Ruggiero

rucotec consulting and technologies    email     mailto:[EMAIL PROTECTED]

rucotec GmbH                           web       http://www.rucotec.ch

Steinentorstrasse 8             

4051 Basel                             Mobile    +41 (0)79 508 4701

Switzerland                            Phone/Fax +41 (0)61 271 4990



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to