• 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: Semi-unique column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semi-unique column


  • Subject: Re: Semi-unique column
  • From: Ken Anderson <email@hidden>
  • Date: Mon, 28 Nov 2005 07:47:04 -0500

While it would be duplication, you could consider putting the unique controlling properties into an additional column - therefore probably not causing harm to existing components...

On Nov 28, 2005, at 7:17 AM, Ondra Cada wrote:

Anjo,

On 28.11.2005, at 13:00, Anjo Krank wrote:

Refactor your table and move the unique stuff to an extra table and enforce the DB-level uniqueness there?

Hmm... can be done of course, but at the first look it seems to me a bit on the complex side: to re-factor the database and to write the Java glue to make two different attributes look like just one with two different kinds of values and so forth just to make one save-and-test atomical? Moreover, I am not designing: the application already runs; making some values in one column--which already exists--unique is a change request.


Anyway thanks a lot: I haven't considered this possibility. Perhaps it will prove to be the best one.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Semi-unique column (From: Ondra Cada <email@hidden>)
 >Re: Semi-unique column (From: Anjo Krank <email@hidden>)
 >Re: Semi-unique column (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Semi-unique column
  • Next by Date: Re: Semi-unique column
  • Previous by thread: Re: Semi-unique column
  • Next by thread: Re: Semi-unique column
  • Index(es):
    • Date
    • Thread