Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 63744 invoked from network); 6 Dec 2006 14:36:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 14:36:43 -0000 Received: (qmail 41581 invoked by uid 500); 6 Dec 2006 14:36:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 41552 invoked by uid 500); 6 Dec 2006 14:36:51 -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 41543 invoked by uid 99); 6 Dec 2006 14:36:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 06:36:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 06 Dec 2006 06:36:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CB1C97142E4 for ; Wed, 6 Dec 2006 06:36:21 -0800 (PST) Message-ID: <25398160.1165415781812.JavaMail.jira@brutus> Date: Wed, 6 Dec 2006 06:36:21 -0800 (PST) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1629) Exceptions thrown by code in procedures or triggers are not handled/thrown correctly by Derby In-Reply-To: <5664491.1154477653869.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-1629?page=all ] Rick Hillegas updated DERBY-1629: --------------------------------- Fix Version/s: 10.2.3.0 (was: 10.2.2.0) Move to 10.2.3.0. > Exceptions thrown by code in procedures or triggers are not handled/thrown correctly by Derby > --------------------------------------------------------------------------------------------- > > Key: DERBY-1629 > URL: http://issues.apache.org/jira/browse/DERBY-1629 > Project: Derby > Issue Type: Bug > Components: JDBC, SQL > Reporter: David Van Couvering > Priority: Minor > Fix For: 10.2.3.0 > > Attachments: DERBY-1629_j9canon.diff > > > In Java SE 6 runtime environments, an application may not get the SQL Exception with SQL State 38000 when execution of a trigger or procedure fails with an exception caused by Derby internals. Instead, they will get the underlying exception with it's SQL State. For an example of this, see lang/procedureInTrigger.sql, which has different output for Java SE 6 (encoded in the master/jdk16/procedureInTrigger.out file) than for other Java SE runtimes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira