Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 29874 invoked from network); 8 Jul 2008 11:29:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 11:29:30 -0000 Received: (qmail 63265 invoked by uid 500); 8 Jul 2008 11:29:30 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 63250 invoked by uid 500); 8 Jul 2008 11:29:30 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 63239 invoked by uid 99); 8 Jul 2008 11:29:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 04:29:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [129.241.210.179] (HELO decibel.pvv.ntnu.no) (129.241.210.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 11:28:38 +0000 Received: from 157.80-202-33.nextgentel.com ([80.202.33.157] helo=[10.0.1.5]) by decibel.pvv.ntnu.no with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1KGBNK-0004ge-Dm for user@cayenne.apache.org; Tue, 08 Jul 2008 13:28:57 +0200 Message-Id: From: Tore Halset To: user@cayenne.apache.org In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Adding/removing unique constraints Date: Tue, 8 Jul 2008 13:28:44 +0200 References: X-Mailer: Apple Mail (2.926) X-Spam-Score: 0.2 (/) X-Spam-Report: Status=No hits=0.2 required=5.0 tests=ALL_TRUSTED,TVD_RCVD_IP version=3.2.4 X-Virus-Checked: Checked by ClamAV on apache.org On 8. juli. 2008, at 13.20, =D8yvind Harboe wrote: > Does Cayenne have the ability to add/remove unique constraints for > columns? "No" or perhaps "Not yet" :) The cayenne does not have the ability to =20= store if a column should have a unique index except for the primary =20 key. As it is not stored in the model, the merge-stuff does not =20 support it either. I would love to have the ability to store index info in the model. - Tore.