On May 30, 2008, at 4:54 PM, Mike Schrag wrote:
OK, so it sounds like the update is fine but how many SQL
statements occur when you try to insert a new Person?
I would expect an insert to fire the faults in this case, but that
should be the same for a many-to-many with a join entity as long as
you are calling addObjectToBothSideBlah on both person and company
of the join (which you should be to keep them consistent).
So, my memory is still not 100% clear on this one but I think we're
honing in on why I don't flatten....
If the relationship is not flattened then I have the option of not
using addObjectToBothSides if I know
I am doing an insert and then discarding the EO (i.e. I don't care
about keeping my object graph
consistent right now). It means I can avoid faulting in a whole slew
of stuff when I know I don't need it.
Alan
As it turns out i accidentally deleted my ManyToMany test-case app
just now and I have to recreate it. But I definitely expect it to
fire the faults here.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/award%
40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]