Re: Getting information on updated n:m relationship
Re: Getting information on updated n:m relationship
- Subject: Re: Getting information on updated n:m relationship
- From: Andrew Lindesay <email@hidden>
- Date: Sat, 10 Mar 2007 09:41:19 +1300
Hello Mike;
Yes ... They are a pain. I recently had to fight this part of EOF to
get notifications of to-many changes for multicast notification. If
What I do is to listen out for the delete and insert notifications on
the target instances (using a queue server) and when an object (B)
was changed then I also look at the reverse to-many relationships
back into that objects's entity from (A), get the specific instance
of A using the GID constructed from the foreign key in (B) and then
drop snapshots for the relationship A--->B.
This is quite a recent block of work (I used to do quite domain-
specific change notification) and it is only used in staging-testing
at the present time. Any comments on this arrangement would be of
interest.
cheers.
___
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