Re: Pb updating a to-many relationship with refaultAllObjects()
Re: Pb updating a to-many relationship with refaultAllObjects()
- Subject: Re: Pb updating a to-many relationship with refaultAllObjects()
- From: Chuck Hill <email@hidden>
- Date: Mon, 17 Nov 2003 10:47:54 -0800
At 12:17 PM 17/11/2003 CDT, email@hidden wrote:
>
>Ben Trumbull has also suggested that you can manually set the to-many
>snapshot to "null" when you refault your EOs, and then, when the EO's
>need to re-load to-many destination information, there's no old snapshot
>there, and EOF will go to the db to get the values. I haven't tried this
>yet myself. I am at the moment very nervous about doing anything unusual
>with the EOF stack, since I'm in the middle of trying to solve some very
>strange bugs involving EOF, and I'd be worried that non-standard things
>will make things worse.
>
Ben is the source of the idea for the code and comments I put here:
http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?wikiPage=Refr
eshingToManyRelationships
I'm also nervous, but it seems to work so far.
Trust in The Ben. :-)
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.