Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 87037 invoked from network); 1 Jul 2006 00:43:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2006 00:43:12 -0000 Received: (qmail 16250 invoked by uid 500); 1 Jul 2006 00:43:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 16219 invoked by uid 500); 1 Jul 2006 00:43:11 -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 16210 invoked by uid 99); 1 Jul 2006 00:43:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 17:43:11 -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, 30 Jun 2006 17:43:10 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2DB2341034B for ; Sat, 1 Jul 2006 00:41:31 +0000 (GMT) Message-ID: <26707027.1151714491184.JavaMail.jira@brutus> Date: Sat, 1 Jul 2006 00:41:31 +0000 (GMT+00:00) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-1035) With client, Connection.getTransactionIsolation() return value is wrong after changing the isolation level with an SQL statement such as "set current isolation = RS" In-Reply-To: <509065588.1140653798162.JavaMail.jira@ajax.apache.org> 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-1035?page=all ] Kathey Marsden closed DERBY-1035: --------------------------------- Fix verified by re-enabling test case > With client, Connection.getTransactionIsolation() return value is wrong after changing the isolation level with an SQL statement such as "set current isolation = RS" > --------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1035 > URL: http://issues.apache.org/jira/browse/DERBY-1035 > Project: Derby > Type: Bug > Components: Network Client > Versions: 10.2.0.0, 10.1.3.0 > Reporter: Kathey Marsden > Assignee: Deepa Remesh > Priority: Minor > Fix For: 10.2.0.0, 10.1.3.0 > > With client, if the isolation level is set with an SQL Statement such as "SET CURRENT ISOLATION = RS" the value of Connection.getTransactionIsolation() will not be correct. > jdbcapi/checkDataSource has tests for sending SQL statements to change the isolation level: > e.g. > s.executeUpdate("set current isolation = RS"); > printState("SQL to change isolation in local", cs1); > I will disable these tests and reference this bug number. > It is not really clear how to handle this without parsing the statement on the client side. -- 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