Re: Pre-Fetching and To-Manys
Re: Pre-Fetching and To-Manys
- Subject: Re: Pre-Fetching and To-Manys
- From: Andrew Lindesay <email@hidden>
- Date: Thu, 25 Sep 2008 08:47:29 +1200
Hello Chuck;
OK thanks for that -- so I guess there's no way to safely refresh
those to-manys then? I know Mike has pointed out before that
invalidating the EO's will cause problems when the system tries to
compare 'known snapshots' with changes during an edit.
cheers.
I can't 100% remember what the case in WO 5.3.3 was and I could be
wrong, but has anybody else had 5.4.X problems with running a fetch
specification like this;
( <class
com
.webobjects.eocontrol.EOFetchSpecification(entityName=XYZAdminUser,
qualifier=((id = 22)),
isDeep=true,
usesDistinct=false,
sortOrdering=null,
hints=null,
_prefetchingRelationshipKeyPaths = ( adminUserPermissions ))> )
It seems like the relationship "adminUserPermissions" from the
(id=22) instance of the entity "XYZAdminUser" is not updating the
"adminUserPermissions" relationship as the fetch runs.
...
No, it updates the contents of the objects already in that
relationships. Which is rather weak.
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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