Re: preventing duplicate records: how to?
Re: preventing duplicate records: how to?
- Subject: Re: preventing duplicate records: how to?
- From: Tom Woteki <email@hidden>
- Date: Tue, 27 May 2003 13:00:03 -0400
your comment is relevant and your first point on business logic is
accurate -- but it's not the business logic for my application. I know
where it leads -- I can't have 2 John Smiths, but that's ok for me. In
any case, the technical question about preventing duplicates still
applies. Pick any attribute(s) you like to solve the problem.
Thanks
Tom
On Tuesday, May 27, 2003, at 12:42 PM, Michael Warner wrote:
It seems to me that there are two kinds of attributes, those that by
definition cannot be duplicates in the real world (say, soc. sec.
number), and those that can (e.g., firstname, mi, lastname). Unless
at least one of the attributes you are checking for follows the former
logic, there is the risk of preventing two different people with the
same name from being allowed, when in fact the business logic says
they should be allowed.
Hope this is relevant to your issue.
_______________________________________________
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.