Return-Path: X-Original-To: apmail-db-derby-commits-archive@www.apache.org Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77655DB05 for ; Mon, 29 Oct 2012 15:24:28 +0000 (UTC) Received: (qmail 31696 invoked by uid 500); 29 Oct 2012 15:24:28 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 31605 invoked by uid 500); 29 Oct 2012 15:24:26 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 31577 invoked by uid 99); 29 Oct 2012 15:24:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 15:24:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 15:24:24 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 496C223888E4; Mon, 29 Oct 2012 15:23:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1403361 - /db/derby/docs/trunk/src/devguide/cdevconcepts32861.dita Date: Mon, 29 Oct 2012 15:23:41 -0000 To: derby-commits@db.apache.org From: chaase3@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121029152341.496C223888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: chaase3 Date: Mon Oct 29 15:23:40 2012 New Revision: 1403361 URL: http://svn.apache.org/viewvc?rev=1403361&view=rev Log: DERBY-5961 Developer's guide mentions SQL state 40XL2 which is no longer used Modified one Developer's Guide file. Patch: DERBY-5961.diff Modified: db/derby/docs/trunk/src/devguide/cdevconcepts32861.dita Modified: db/derby/docs/trunk/src/devguide/cdevconcepts32861.dita URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/cdevconcepts32861.dita?rev=1403361&r1=1403360&r2=1403361&view=diff ============================================================================== --- db/derby/docs/trunk/src/devguide/cdevconcepts32861.dita (original) +++ db/derby/docs/trunk/src/devguide/cdevconcepts32861.dita Mon Oct 29 15:23:40 2012 @@ -28,8 +28,8 @@ out, you should program your application -

To do this, test for SQLExceptions with SQLStates of -40001 (deadlock timeout) or 40XL1 or 40XL2 (lockwait timeout).

+

To do this, test for SQLExceptions with SQLStates of 40001 +(deadlock timeout) or 40XL1 (lockwait timeout).

In the case of a deadlock you might want to re-try the transaction that was chosen as a victim. In the case of a lock wait timeout, you probably do not want to do this right away.