Re: Dealing with temporary EOs
Re: Dealing with temporary EOs
- Subject: Re: Dealing with temporary EOs
- From: Anjo Krank <email@hidden>
- Date: Sat, 23 Jul 2005 21:53:54 +0200
Am 23.07.2005 um 21:44 schrieb Logan Allred:
The only other solution I can think of is to delete all of the EOs
that the user ignores, and then just save the peer editing context.
Is this the recommended solution? This is the solution I'm going to
implement, unless I get a better suggestion. Hopefully it's not too
expensive, as the common case is for the user to do nothing, or
maybe save a few.
Gee, I always wonder why people are concerned about performance when
the didn't even check? Yes, the easiest way is to either delete the
objects that won´t be saved or call ec.revert() if all are to be
discarded. (Or do nothing and wait until the session ends and they
are collected.)
Cheers, Anjo
_______________________________________________
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