editingContext.refaultObjects();
editingContext.refaultObjects();
- Subject: editingContext.refaultObjects();
- From: Justin Tocci <email@hidden>
- Date: Thu, 26 Aug 2004 10:33:12 -0500
I'm calling editingContext.refaultObjects(); right after
editingContext.saveChanges(); and I'm getting the behavior I need. A
change is commited to the database with saveChanges(), immediately the
editingContext is sent refaultObjects() and so queries the database for
the record it just saved. The good thing is that this is picking up my
new "last updated" date in the change_stamp column and I can
immediately make another change to the same column without error.
Problem is I think it is refaulting all objects in the editing context,
not just the one that was saved, because I'm getting a lot of activity
in the SQL log. Anyone got any ideas on how to just refault the
specific object that was saved?
Thanks for all the help guys. Anyone with Postgresql or Access issues
don't hesitate to drop me a line.
justin tocci
fort wayne, in
_______________________________________________
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.