From dev-return-6112-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon Sep 10 15:54:14 2007 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 79668 invoked from network); 10 Sep 2007 15:54:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 15:54:14 -0000 Received: (qmail 80506 invoked by uid 500); 10 Sep 2007 15:54:07 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 80482 invoked by uid 500); 10 Sep 2007 15:54:07 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 80472 invoked by uid 99); 10 Sep 2007 15:54:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 08:54:07 -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: domain of plinskey@gmail.com designates 64.233.184.236 as permitted sender) Received: from [64.233.184.236] (HELO wr-out-0506.google.com) (64.233.184.236) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:54:05 +0000 Received: by wr-out-0506.google.com with SMTP id l58so327511wrl for ; Mon, 10 Sep 2007 08:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SF3n1Sq9nKLMuLWhCUAvD16565NR90vWlFxShQnQ/Pw=; b=a4EE9gVtG94jVK8aRixxETQhcbczhv+2ClAwbqpupAe5jQqsYqbTt8UxOPxKY8safholNSKGLXE+vCO7oj8u6A7WfWJQ2Ke6+fSOLbDOEnit/eMhVmktkmmowruR9l6U5msfD0gnOWtax2/L95zEcEiqWVt95GE1HMthGWZL9HY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bm6Szvn9RT8up8/TMQ/m+NVvsIz+1/DMeI0n2NkFChInuburC68loy9OBcDhA+L2Orcg/+rSIf1kOliCoI6ysrgBODjBp4RpJr7A7+hvCmXgkZv7V1oIGcEFD8ZV4V9dHXzIzH5O5JVXP1uCF0v4GCJAK3z6sEgkWBj1jVg+kko= Received: by 10.142.240.9 with SMTP id n9mr233533wfh.1189439623086; Mon, 10 Sep 2007 08:53:43 -0700 (PDT) Received: by 10.143.16.2 with HTTP; Mon, 10 Sep 2007 08:53:43 -0700 (PDT) Message-ID: <7262f25e0709100853we0dff31uc3a14061c28bbcaa@mail.gmail.com> Date: Mon, 10 Sep 2007 08:53:43 -0700 From: "Patrick Linskey" To: dev@openjpa.apache.org Subject: Re: DBDictionary returns supportsUniqueConstraints for supportsDeferredUniqueConstraints() method! In-Reply-To: <3f5f9f310709100350t5035a6e0hd11a3247442cea7e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3f5f9f310709100350t5035a6e0hd11a3247442cea7e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Yes; sorry about that. I just checked in a fix for it. -Patrick On 9/10/07, Prashant Bhat wrote: > Hi, > > When I updated to latest snapshot rev.574143, and tried create schema with > the H2 Database, it's failing. > As H2 doesn't support DeferredConstraints and > supportsDeferredUniqueConstraints() method is returning > supportsUniqueConstraints which is true in case H2 but not deferred unique > constraints. > > Shouldn't it return supportsDeferredConstraints(as > supportsDeferredForeignKeyConstraints() returns it)? Or should H2Dictionary > override it to return false? > > Thanks, > Prashant > -- Patrick Linskey 202 669 5907