Re: Many To Many relationship and D2W
Re: Many To Many relationship and D2W
- Subject: Re: Many To Many relationship and D2W
- From: Art Isbell <email@hidden>
- Date: Wed, 18 Dec 2002 23:09:26 -1000
On Wednesday, December 18, 2002, at 10:42 PM, mmalcolm crawford wrote:
On Wednesday, December 18, 2002, at 06:50 PM, Art Isbell wrote:
And I unset AB's primary keys as being used for optimistic locking
(get rid of the lock icons). Not sure why EOModeler sets these
attributes to be used for locking.
IIRC, EOF automatically snapshots PK attributes whether or not they
have the lock symbol. It's likely to need to use the PK at some point
(uniquing, deletion)... I'd be surprised if you found any difference
in behaviour?
Primary keys are used like attributes used for locking in that they
are included in "where" clauses regardless of whether they're marked as
being used for locking. So I suspect that you're correct in assuming
that the used for locking designation for primary key attributes
probably doesn't have any bearing on EOF behavior. Those lock icons
just don't look proper on primary key attributes :-)
Art
_______________________________________________
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.