On 20.03.2008, at 17:17, Gustavo Pizano wrote:
leaving only the id as Pk will allow another Person to rgister with
the same document like this
id docuemnt phone address
1 123 555 XXXX
2 123 555 XXXX
and that would be an inconsistency no?
Why? If you don't want duplicates, add a unique constraint to the
database and handle the failures on insert/update.
It depends on your model whether this is valid or not.
And it is still considered "good style" to never use something with an
outside meaning as a pk. At least with EOF it makes your life much
easier.
cug
--
http://www.event-s.net
_______________________________________________
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]