• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: preventing duplicate records: how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: preventing duplicate records: how to? (From: Michael Warner <email@hidden>)

  • Prev by Date: Re: preventing duplicate records: how to?
  • Next by Date: Re: MS SQL Server2000 EOModel Connection Problem
  • Previous by thread: Re: preventing duplicate records: how to?
  • Next by thread: Dynamically Swapping Components
  • Index(es):
    • Date
    • Thread