Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 58217 invoked from network); 3 Feb 2006 21:13:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Feb 2006 21:13:35 -0000 Received: (qmail 44503 invoked by uid 500); 3 Feb 2006 21:13:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44463 invoked by uid 500); 3 Feb 2006 21:13:34 -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 44454 invoked by uid 99); 3 Feb 2006 21:13:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 13:13:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [67.116.30.6] (HELO red.amberpoint.com) (67.116.30.6) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2006 13:13:33 -0800 Received: from [127.0.0.1] (bp-work.edgility.com [10.10.11.4]) by red.amberpoint.com (8.12.11/8.12.11) with ESMTP id k13LD8FW007066 for ; Fri, 3 Feb 2006 13:13:09 -0800 (PST) Message-ID: <43E3C765.9070204@amberpoint.com> Date: Fri, 03 Feb 2006 13:13:09 -0800 From: Bryan Pendleton User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: [jira] Updated: (DERBY-898) setAutoCommit(false) is not working properly for local connection with ClientXADataSource References: <1705812163.1138987685686.JavaMail.jira@ajax.apache.org> In-Reply-To: <1705812163.1138987685686.JavaMail.jira@ajax.apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed 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 > The problem in this case was that the server side connection was set to autocommit true. > Even when the client has autocommit on, the server side connection should be autocommit > false and let the client drive the commits. Hi Kathey, I wonder if you could take a moment and expand on this idea a bit, because when I first read it, I was surprised. My first reaction when I saw DERBY-898 was to expect that the autocommit state on the server and the client ought to match, and that when the autocommit state on the client was changed, that change would be propagated to the server. Thus, I expected to see you changing the client so that when setAutoCommit(false) was called on the client, a message was sent to the server to turn autocommit off on the server side. Is this something specific to XA distributed transactions, or is it just a fundamental aspect of how the Network Server behaves that all transaction control should be performed by the client? thanks, bryan