Re: When (not) to use session().defaultEditingContext()
Re: When (not) to use session().defaultEditingContext()
- Subject: Re: When (not) to use session().defaultEditingContext()
- From: Ben Ketteridge <email@hidden>
- Date: Mon, 1 Nov 2004 08:57:16 +0000
On Mon, 01 Nov 2004 13:29:14 +1100, Jake MacMullin
<email@hidden> wrote:
> If you get data from the default editing context it could be stale (but this
> isn't a problem if you've made all your changes through the default editing
> context).
You can still end up with stale data. Any time the data changes in the
DB, other Sessions (in other applications/application instances) will
have stale data. This is an entirely separate issue from whether to
use transaction editingContexts or the defaultEditingContext().
> Is this an accurate summary of the decision?
Other than my point above, yes.
Ben
--
| Ben Ketteridge email@hidden, aka Gremlin |
| It is by caffeine alone that I set my mind in motion. |
| It is by the coffee that the thoughts acquire speed, |
| the lips acquire stains, the stains become a warning. |
| It is by caffeine alone that I set my mind in motion. |
_______________________________________________
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