• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pre-Fetching and To-Manys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Pre-Fetching and To-Manys
      • From: Chuck Hill <email@hidden>
References: 
 >Pre-Fetching and To-Manys (From: Andrew Lindesay <email@hidden>)
 >Re: Pre-Fetching and To-Manys (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Pre-Fetching and To-Manys
  • Next by Date: still crazy after all these years
  • Previous by thread: Re: Pre-Fetching and To-Manys
  • Next by thread: Re: Pre-Fetching and To-Manys
  • Index(es):
    • Date
    • Thread