Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 70016 invoked from network); 17 Sep 2010 09:24:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Sep 2010 09:24:27 -0000 Received: (qmail 26532 invoked by uid 500); 17 Sep 2010 09:24:26 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26404 invoked by uid 500); 17 Sep 2010 09:24:24 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 26391 invoked by uid 99); 17 Sep 2010 09:24:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 09:24:23 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Sep 2010 09:24:18 +0000 Received: by iwn8 with SMTP id 8so2763005iwn.11 for ; Fri, 17 Sep 2010 02:23:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.58.201 with SMTP id i9mr4811275ibh.98.1284715434024; Fri, 17 Sep 2010 02:23:54 -0700 (PDT) Received: by 10.231.143.213 with HTTP; Fri, 17 Sep 2010 02:23:53 -0700 (PDT) In-Reply-To: <4C9345C2020000A5000945F6@cputpri.cput.ac.za> References: <4C9345C2020000A5000945F6@cputpri.cput.ac.za> Date: Fri, 17 Sep 2010 21:23:53 +1200 Message-ID: Subject: Re: Duplication of unique keys From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi Babawala If you are creating your own UUIDs or using the system generated one, doc.id should be enforced as unique. what exactly is being duplicated - got an example? A+ Dave On 17 September 2010 20:41, BABALWA MAGALELA <208179585@cput.ac.za> wrote: > My group and I have created a medical record system. The problem is, in > the patient class, when we try to have unique ID's to identify the > patients with, we saw that dupication of that "unique" key is possible. > Could someone refer me so any solution? > -------------------------------------------------------------------- > Disclaimer > This e-mail transmission contains confidential information, > which is the property of the sender. > The information in this e-mail or attachments thereto is > intended for the attention and use only of the addressee. > Should you have received this e-mail in error, please delete > and destroy it and any attachments thereto immediately. > Under no circumstances will the Cape Peninsula University of > Technology or the sender of this e-mail be liable to any party for > any direct, indirect, special or other consequential damages for any > use of this e-mail. > For the detailed e-mail disclaimer please refer to > http://www.cput.ac.za/email.php or call +27 (0)21 460 3911 >