Re: Pre-Fetching and To-Manys
Re: Pre-Fetching and To-Manys
- Subject: Re: Pre-Fetching and To-Manys
- From: Chuck Hill <email@hidden>
- Date: Wed, 24 Sep 2008 12:11:00 -0700
On Sep 23, 2008, at 3:09 PM, Andrew Lindesay wrote:
Hello;
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.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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