Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 39833 invoked from network); 18 May 2007 23:25:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 May 2007 23:25:39 -0000 Received: (qmail 98114 invoked by uid 500); 18 May 2007 23:25:44 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 98085 invoked by uid 500); 18 May 2007 23:25:44 -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 98075 invoked by uid 99); 18 May 2007 23:25:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 16:25:44 -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; Fri, 18 May 2007 16:25:38 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3CD3171406B for ; Fri, 18 May 2007 16:25:16 -0700 (PDT) Message-ID: <30241276.1179530716240.JavaMail.jira@brutus> Date: Fri, 18 May 2007 16:25:16 -0700 (PDT) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1828) Access rule violations should use a SQL state starting with '42' according to the SQL standard. In-Reply-To: <4552902.1157662882836.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-1828?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Matrigali updated DERBY-1828: ---------------------------------- It looks like the following checkin is causing DERBY-2647: r537850 | kahatlen | 2007-05-14 07:09:51 -0700 (Mon, 14 May 2007) | 7 lines DERBY-1828: Access rule violations should use a SQL state starting with '42' according to the SQL standard. DERBY-2633: Authorization error codes have been moved. Translated messages must be moved accordingly. Patch contributed by J_rgen L_land. > Access rule violations should use a SQL state starting with '42' accordin= g to the SQL standard. > -------------------------------------------------------------------------= ---------------------- > > Key: DERBY-1828 > URL: https://issues.apache.org/jira/browse/DERBY-1828 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.2.1.6, 10.3.0.0 > Reporter: Daniel John Debrunner > Assigned To: J=C3=B8rgen L=C3=B8land > Fix For: 10.3.0.0 > > Attachments: DERBY-1828-1.diff, DERBY-1828-1.stat, DERBY-1828-2.d= iff, DERBY-1828-2.stat, DERBY-1828-2indent.diff, releaseNote.html > > > The SQL standard says that SQL State '42' is for "syntax error or access > rule violation" (section 23.1). > There is a question of what JDBC 4.0 exception should be thrown for a acc= ess rule violation, > JDBC 4.0 maps '42' to SQLSyntaxErrorException which seems wrong for an ac= cess rule. > Message thread: > http://mail-archives.apache.org/mod_mbox/db-derby-dev/200609.mbox/%3c4500= 4A04.5080002@apache.org%3e --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.