• 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
DB uniqueness constraints and dealing with them
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DB uniqueness constraints and dealing with them


  • Subject: DB uniqueness constraints and dealing with them
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Thu, 03 Jul 2008 12:58:20 -0400

Hi all,

While reading older discussions on dealing with DB uniqueness restraints I've found out that the EOGeneralAdaptorException thrown differs among databases. Is there some generic code that deals with this in absolute terms ( don't you just *love* the word absolute being used in conjunction with software :) ? If there is in WOnder, could someone please be so kind to point me in the right direction (which part of WOnder) so I can look at it?

Or should I write some pure EOF code like: Fetch -> Check uniqueness -> Create new record -> Save -> Fetch -> Check, or something along those lines? This would assume that I know which attributes should be unique in code, which can be done. I'd rather not deal with this like this, it seems a nuisance.

Thanks,
Flor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: DB uniqueness constraints and dealing with them
      • From: Q <email@hidden>
    • Re: DB uniqueness constraints and dealing with them
      • From: Florijan Stamenkovic <email@hidden>
  • Prev by Date: Re: Saving Values with EOF
  • Next by Date: Re: DB uniqueness constraints and dealing with them
  • Previous by thread: Re: WOLips shortcuts ??
  • Next by thread: Re: DB uniqueness constraints and dealing with them
  • Index(es):
    • Date
    • Thread