Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 30626 invoked from network); 13 Apr 2009 22:24:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2009 22:24:43 -0000 Received: (qmail 14111 invoked by uid 500); 13 Apr 2009 22:24:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 14057 invoked by uid 500); 13 Apr 2009 22:24:42 -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 14049 invoked by uid 99); 13 Apr 2009 22:24:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 22:24:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 22:24:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0286129A0013 for ; Mon, 13 Apr 2009 15:24:15 -0700 (PDT) Message-ID: <909711278.1239661455008.JavaMail.jira@brutus> Date: Mon, 13 Apr 2009 15:24:15 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-4141) XAExceptions thrown by Derby can have errorCode 0 In-Reply-To: <187952276.1238713993276.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden closed DERBY-4141. --------------------------------- Resolution: Fixed Fix Version/s: 10.6.0.0 10.5.1.1 Myrna asked me to pre-close this issue so it makes the 10.5.1.1 release notes. I actually plan to check into 10.5 tomorrow morning after checking the nightly runs. > XAExceptions thrown by Derby can have errorCode 0 > -------------------------------------------------- > > Key: DERBY-4141 > URL: https://issues.apache.org/jira/browse/DERBY-4141 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.1.3.1, 10.2.1.6, 10.3.3.0, 10.4.2.0, 10.5.1.1, 10.6.0.0 > Reporter: Kathey Marsden > Assignee: Kathey Marsden > Fix For: 10.5.1.1, 10.6.0.0 > > Attachments: derby-4141_diff.txt, derby-4141_embbeded_diff1.txt > > > When an XAException occurs during xa.start() or other XA operation, because of an SQLException, we have an errorCode of 0, regardless of the severity. I would suggest XAER_RMFAIL for SESSION_SEVERITY or greater and XAER_RMERR for lower severity exceptions. See thread http://www.nabble.com/XAException.errorCode-on-XAException-caused-by-an-SQLException-tt22832423.html for more detail and a reproduction. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.