Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 46553 invoked from network); 4 Aug 2006 21:22:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2006 21:22:52 -0000 Received: (qmail 71350 invoked by uid 500); 4 Aug 2006 21:22:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 71137 invoked by uid 500); 4 Aug 2006 21:22: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 71127 invoked by uid 99); 4 Aug 2006 21:22:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 14:22:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 14:22:50 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 460547141F0 for ; Fri, 4 Aug 2006 21:20:14 +0000 (GMT) Message-ID: <28267660.1154726414263.JavaMail.jira@brutus> Date: Fri, 4 Aug 2006 14:20:14 -0700 (PDT) From: "David Van Couvering (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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1629?page=all ] David Van Couvering updated DERBY-1629: --------------------------------------- Summary: Exceptions thrown by code in procedures or triggers are not handled/thrown correctly by Derby (was: StandardException.unexpectedUserException() does not correctly catch internally generated exceptions as of JDK 1.6) > 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 > Reporter: David Van Couvering > Priority: Minor > Fix For: 10.2.0.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