Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 92350 invoked from network); 12 Dec 2006 17:59:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 17:59:21 -0000 Received: (qmail 51928 invoked by uid 500); 12 Dec 2006 17:59:15 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 51854 invoked by uid 500); 12 Dec 2006 17:59:15 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 51809 invoked by uid 99); 12 Dec 2006 17:59:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 09:59:14 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [32.97.182.141] (HELO e1.ny.us.ibm.com) (32.97.182.141) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 09:59:01 -0800 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kBCHwdUU026895 for ; Tue, 12 Dec 2006 12:58:39 -0500 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay02.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kBCHwdp6293246 for ; Tue, 12 Dec 2006 12:58:39 -0500 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kBCHwdOe027119 for ; Tue, 12 Dec 2006 12:58:39 -0500 Received: from [127.0.0.1] (dyn9-72-133-83.usca.ibm.com [9.72.133.83]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kBCHwca5027063 for ; Tue, 12 Dec 2006 12:58:38 -0500 Message-ID: <457EEDCD.2070301@sbcglobal.net> Date: Tue, 12 Dec 2006 09:58:37 -0800 From: Mike Matrigali Reply-To: mikem_app@sbcglobal.net User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Discussion Subject: Re: unique columns must be nullable ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Out of curiousity what behavior does Hibernate expect when 2 nulls are inserted into a "unique" nullable column? Xanana Gusmao wrote: > On this page http://wiki.apache.org/db-derby/HibernateHelp > it says: > > "Hibernate Annotations do not work because Derby does not allow a unique column > to be nullable" > > Is this (that Derby's unique column must be non-nullable) still true ? > > > >