Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 53823 invoked from network); 31 Jul 2007 17:54:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jul 2007 17:54:22 -0000 Received: (qmail 96408 invoked by uid 500); 31 Jul 2007 17:54:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 96374 invoked by uid 500); 31 Jul 2007 17:54:13 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 96364 invoked by uid 99); 31 Jul 2007 17:54:13 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 10:54:13 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 17:54:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D02BD714187 for ; Tue, 31 Jul 2007 10:53:52 -0700 (PDT) Message-ID: <15873215.1185904432832.JavaMail.jira@brutus> Date: Tue, 31 Jul 2007 10:53:52 -0700 (PDT) From: "Stan Bradbury (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-2919) Alter table .. Add .. Primary Key fails with Column not found when columnName contains localized characters - w/a available In-Reply-To: <22857730.1184128084461.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2919?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Stan Bradbury closed DERBY-2919. -------------------------------- Resolution: Invalid Opps, my mistake. Closing as Invalid > Alter table .. Add .. Primary Key fails with Column not found when column= Name contains localized characters - w/a available > -------------------------------------------------------------------------= -------------------------------------------------- > > Key: DERBY-2919 > URL: https://issues.apache.org/jira/browse/DERBY-2919 > Project: Derby > Issue Type: Bug > Components: Localization > Affects Versions: 10.3.1.1 > Reporter: Stan Bradbury > Priority: Minor > > Database created with territory=3Des_MX and table with colunName Excepci= =E2=89=A4n (taken from exception text for "ERROR XJ001: Excepci=E2=89=A4n d= e Java:...") trying to specify the column as the primary key using alter t= able fails: > Db Creation URL: connect 'jdbc:derby:toursMx;create=3Dtrue;territory=3De= s_MX'; > -- Create table > Create table Ciudad_de_Mexico2 > ( nombre varchar(24), > estado varchar(24), > Excepci=E2=89=A4n int ); > -- Create PK > ALTER TABLE Ciudad_de_Mexico2 > ADD CONSTRAINT Mx_PK2 Primary Key ( > Excepci=E2=89=A4n); > -- ERROR 42831: 'EXCEPCI=E2=95=99N' no puede ser una columna de clave pri= maria o clave - nica porque puede contener valores nulos. > -- WORKAROUND: create the primary key when the table is created: > Create table Ciudad_de_Mexico > ( nombre varchar(24), > =09estado varchar(24), > =09 Excepci=E2=89=A4n int constraint mx_pk Primary Key); --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.