Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 60238 invoked from network); 23 May 2006 20:37:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2006 20:37:11 -0000 Received: (qmail 49781 invoked by uid 500); 23 May 2006 20:37:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 49753 invoked by uid 500); 23 May 2006 20:37:10 -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 49744 invoked by uid 99); 23 May 2006 20:37:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 May 2006 13:37:10 -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; Tue, 23 May 2006 13:37:09 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9AF14714293 for ; Tue, 23 May 2006 20:36:30 +0000 (GMT) Message-ID: <13999760.1148416590632.JavaMail.jira@brutus> Date: Tue, 23 May 2006 20:36:30 +0000 (GMT+00:00) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1325) Isolation level of local connection does not get reset after exiting a global transaction if the isolation level was changed using SQL In-Reply-To: <592800.1147475468402.JavaMail.root@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-1325?page=comments#action_12412985 ] Kathey Marsden commented on DERBY-1325: --------------------------------------- Comitted to the trunk. Won't mark resolved until it goes into 10.1 Date: Tue May 23 13:29:47 2006 New Revision: 409002 URL: http://svn.apache.org/viewvc?rev=409002&view=rev Thanks Deepa! > Isolation level of local connection does not get reset after exiting a global transaction if the isolation level was changed using SQL > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1325 > URL: http://issues.apache.org/jira/browse/DERBY-1325 > Project: Derby > Type: Bug > Components: JDBC > Versions: 10.2.0.0, 10.1.3.0 > Reporter: Deepa Remesh > Assignee: Deepa Remesh > Fix For: 10.2.0.0, 10.1.3.0 > Attachments: SetIsolation_SQL_JDBC.java, derby-1325-draft.diff, derby-1325-v1.diff, derby-1325-v1.status, derby-1325-v2.diff, derby-1325-v2.status > > If we update the isolation level using SQL instead of JDBC and then join/resume a global transaction, on ending the transaction, the isolation level of the local connection is not restored. The problem seems to be in EmbedXAResource. So it happens with both embedded and client driver. Client driver internally uses SQL to set the transaction isolation. So the problem is more likely to be hit with the client. I will attach a repro and a draft patch with more details. -- 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