Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Semi-unique column



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:
http://lists.apple.com/mailman/options/webobjects-dev/lists% 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: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.